HSL(230, 23%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,23%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 23%, 40%) | color: hsl(230, 23%, 40%) | |
| HEX | #4F567D | color: #4F567D | |
| RGB | rgb(79, 86, 125) | color: rgb(79, 86, 125) | |
| CMYK | cmyk(37%, 31%, 0%, 51%) | — | |
| HSV | hsv(231, 37%, 49%) | — | |
| HWB | hwb(231 31% 51%) | color: hwb(231 31% 51%) | |
| OKLCH | oklch(0.4638 0.0641 275.8) | color: oklch(0.4638 0.0641 275.8) | |
| Lab | lab(37.48 7.51 -22.89) | color: lab(37.48 7.51 -22.89) | |
| LCH | lch(37.48 24.09 288.16) | color: lch(37.48 24.09 288.16) |
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)
#525274 — rgb(82, 82, 116)
Deuteranopia (Green-blind)
#525171 — rgb(82, 81, 113)
Tritanopia (Blue-blind)
#4F6C6A — rgb(79, 108, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 23%, 40%);
text
color: hsl(230, 23%, 40%);
border
border: 2px solid hsl(230, 23%, 40%);
gradient light
background: linear-gradient(to right, hsl(230, 23%, 60%), hsl(230, 23%, 40%));
gradient dark
background: linear-gradient(to right, hsl(230, 23%, 40%), hsl(230, 23%, 20%))
hex
background-color: #4F567D;
tailwind
bg-[hsl(230,23%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 23%, 40%, 0.4);
css variable
--color-primary: hsl(230, 23%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 23%, 40%)?
HEX: #4F567D | RGB: rgb(79, 86, 125) | CMYK: 37%, 31%, 0%, 51% | HSV: 231°, 37%, 49%. Copy any format from the conversion table above.
What colors go well with #4F567D?
The complementary color is HSL(50, 23%, 40%). 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%, 40%) in CSS?
As HSL: color: hsl(230, 23%, 40%); — As HEX: color: #4F567D; — As RGB: color: rgb(79, 86, 125); — Tailwind CSS: bg-[hsl(230,23%,40%)] — CSS variable: --color-primary: hsl(230, 23%, 40%);