HSL(231, 54%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,54%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 54%, 52%) | color: hsl(231, 54%, 52%) | |
| HEX | #4356C7 | color: #4356C7 | |
| RGB | rgb(67, 86, 199) | color: rgb(67, 86, 199) | |
| CMYK | cmyk(66%, 57%, 0%, 22%) | — | |
| HSV | hsv(231, 66%, 78%) | — | |
| HWB | hwb(231 27% 22%) | color: hwb(231 27% 22%) | |
| OKLCH | oklch(0.5042 0.1761 271.39) | color: oklch(0.5042 0.1761 271.39) | |
| Lab | lab(41.17 29.36 -61.19) | color: lab(41.17 29.36 -61.19) | |
| LCH | lch(41.17 67.87 295.63) | color: lch(41.17 67.87 295.63) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#4B4BAC — rgb(75, 75, 172)
Deuteranopia (Green-blind)
#4A49A5 — rgb(74, 73, 165)
Tritanopia (Blue-blind)
#449691 — rgb(68, 150, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 54%, 52%);
text
color: hsl(231, 54%, 52%);
border
border: 2px solid hsl(231, 54%, 52%);
gradient light
background: linear-gradient(to right, hsl(231, 54%, 72%), hsl(231, 54%, 52%));
gradient dark
background: linear-gradient(to right, hsl(231, 54%, 52%), hsl(231, 54%, 32%))
hex
background-color: #4356C7;
tailwind
bg-[hsl(231,54%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 54%, 52%, 0.4);
css variable
--color-primary: hsl(231, 54%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 54%, 52%)?
HEX: #4356C7 | RGB: rgb(67, 86, 199) | CMYK: 66%, 57%, 0%, 22% | HSV: 231°, 66%, 78%. Copy any format from the conversion table above.
What colors go well with #4356C7?
The complementary color is HSL(51, 54%, 52%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 54%, 52%) in CSS?
As HSL: color: hsl(231, 54%, 52%); — As HEX: color: #4356C7; — As RGB: color: rgb(67, 86, 199); — Tailwind CSS: bg-[hsl(231,54%,52%)] — CSS variable: --color-primary: hsl(231, 54%, 52%);