HSL(230, 42%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,42%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 42%, 54%) | color: hsl(230, 42%, 54%) | |
| HEX | #5869BB | color: #5869BB | |
| RGB | rgb(88, 105, 187) | color: rgb(88, 105, 187) | |
| CMYK | cmyk(53%, 44%, 0%, 27%) | — | |
| HSV | hsv(230, 53%, 73%) | — | |
| HWB | hwb(230 34% 27%) | color: hwb(230 34% 27%) | |
| OKLCH | oklch(0.5466 0.1289 272.64) | color: oklch(0.5466 0.1289 272.64) | |
| Lab | lab(46.66 17.26 -45.32) | color: lab(46.66 17.26 -45.32) | |
| LCH | lch(46.66 48.5 290.85) | color: lch(46.66 48.5 290.85) |
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)
#5F60A7 — rgb(95, 96, 167)
Deuteranopia (Green-blind)
#5E5DA2 — rgb(94, 93, 162)
Tritanopia (Blue-blind)
#599794 — rgb(89, 151, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 42%, 54%);
text
color: hsl(230, 42%, 54%);
border
border: 2px solid hsl(230, 42%, 54%);
gradient light
background: linear-gradient(to right, hsl(230, 42%, 74%), hsl(230, 42%, 54%));
gradient dark
background: linear-gradient(to right, hsl(230, 42%, 54%), hsl(230, 42%, 34%))
hex
background-color: #5869BB;
tailwind
bg-[hsl(230,42%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 42%, 54%, 0.4);
css variable
--color-primary: hsl(230, 42%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 42%, 54%)?
HEX: #5869BB | RGB: rgb(88, 105, 187) | CMYK: 53%, 44%, 0%, 27% | HSV: 230°, 53%, 73%. Copy any format from the conversion table above.
What colors go well with #5869BB?
The complementary color is HSL(50, 42%, 54%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 42%, 54%) in CSS?
As HSL: color: hsl(230, 42%, 54%); — As HEX: color: #5869BB; — As RGB: color: rgb(88, 105, 187); — Tailwind CSS: bg-[hsl(230,42%,54%)] — CSS variable: --color-primary: hsl(230, 42%, 54%);