HSL(230, 23%, 39%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,23%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 23%, 39%) | color: hsl(230, 23%, 39%) | |
| HEX | #4D547A | color: #4D547A | |
| RGB | rgb(77, 84, 122) | color: rgb(77, 84, 122) | |
| CMYK | cmyk(37%, 31%, 0%, 52%) | — | |
| HSV | hsv(231, 37%, 48%) | — | |
| HWB | hwb(231 30% 52%) | color: hwb(231 30% 52%) | |
| OKLCH | oklch(0.4561 0.0627 275.62) | color: oklch(0.4561 0.0627 275.62) | |
| Lab | lab(36.6 7.28 -22.42) | color: lab(36.6 7.28 -22.42) | |
| LCH | lch(36.6 23.57 287.99) | color: lch(36.6 23.57 287.99) |
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)
#505071 — rgb(80, 80, 113)
Deuteranopia (Green-blind)
#504F6F — rgb(80, 79, 111)
Tritanopia (Blue-blind)
#4D6A68 — rgb(77, 106, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 23%, 39%);
text
color: hsl(230, 23%, 39%);
border
border: 2px solid hsl(230, 23%, 39%);
gradient light
background: linear-gradient(to right, hsl(230, 23%, 59%), hsl(230, 23%, 39%));
gradient dark
background: linear-gradient(to right, hsl(230, 23%, 39%), hsl(230, 23%, 19%))
hex
background-color: #4D547A;
tailwind
bg-[hsl(230,23%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 23%, 39%, 0.4);
css variable
--color-primary: hsl(230, 23%, 39%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 23%, 39%)?
HEX: #4D547A | RGB: rgb(77, 84, 122) | CMYK: 37%, 31%, 0%, 52% | HSV: 231°, 37%, 48%. Copy any format from the conversion table above.
What colors go well with #4D547A?
The complementary color is HSL(50, 23%, 39%). 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%, 39%) in CSS?
As HSL: color: hsl(230, 23%, 39%); — As HEX: color: #4D547A; — As RGB: color: rgb(77, 84, 122); — Tailwind CSS: bg-[hsl(230,23%,39%)] — CSS variable: --color-primary: hsl(230, 23%, 39%);