HSL(230, 23%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,23%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 23%, 43%) | color: hsl(230, 23%, 43%) | |
| HEX | #545D87 | color: #545D87 | |
| RGB | rgb(84, 93, 135) | color: rgb(84, 93, 135) | |
| CMYK | cmyk(38%, 31%, 0%, 47%) | — | |
| HSV | hsv(229, 38%, 53%) | — | |
| HWB | hwb(229 33% 47%) | color: hwb(229 33% 47%) | |
| OKLCH | oklch(0.4885 0.0685 274.33) | color: oklch(0.4885 0.0685 274.33) | |
| Lab | lab(40.35 7.55 -24.49) | color: lab(40.35 7.55 -24.49) | |
| LCH | lch(40.35 25.63 287.13) | color: lch(40.35 25.63 287.13) |
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)
#58587D — rgb(88, 88, 125)
Deuteranopia (Green-blind)
#57577A — rgb(87, 87, 122)
Tritanopia (Blue-blind)
#547573 — rgb(84, 117, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 23%, 43%);
text
color: hsl(230, 23%, 43%);
border
border: 2px solid hsl(230, 23%, 43%);
gradient light
background: linear-gradient(to right, hsl(230, 23%, 63%), hsl(230, 23%, 43%));
gradient dark
background: linear-gradient(to right, hsl(230, 23%, 43%), hsl(230, 23%, 23%))
hex
background-color: #545D87;
tailwind
bg-[hsl(230,23%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 23%, 43%, 0.4);
css variable
--color-primary: hsl(230, 23%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 23%, 43%)?
HEX: #545D87 | RGB: rgb(84, 93, 135) | CMYK: 38%, 31%, 0%, 47% | HSV: 229°, 38%, 53%. Copy any format from the conversion table above.
What colors go well with #545D87?
The complementary color is HSL(50, 23%, 43%). 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, 23%, 43%) in CSS?
As HSL: color: hsl(230, 23%, 43%); — As HEX: color: #545D87; — As RGB: color: rgb(84, 93, 135); — Tailwind CSS: bg-[hsl(230,23%,43%)] — CSS variable: --color-primary: hsl(230, 23%, 43%);