HSL(230, 51%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,51%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 51%, 51%) | color: hsl(230, 51%, 51%) | |
| HEX | #4258C2 | color: #4258C2 | |
| RGB | rgb(66, 88, 194) | color: rgb(66, 88, 194) | |
| CMYK | cmyk(66%, 55%, 0%, 24%) | — | |
| HSV | hsv(230, 66%, 76%) | — | |
| HWB | hwb(230 26% 24%) | color: hwb(230 26% 24%) | |
| OKLCH | oklch(0.5036 0.1671 270.45) | color: oklch(0.5036 0.1671 270.45) | |
| Lab | lab(41.27 26.16 -58.13) | color: lab(41.27 26.16 -58.13) | |
| LCH | lch(41.27 63.75 294.23) | color: lch(41.27 63.75 294.23) |
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)
#4C4CA8 — rgb(76, 76, 168)
Deuteranopia (Green-blind)
#4A49A2 — rgb(74, 73, 162)
Tritanopia (Blue-blind)
#439490 — rgb(67, 148, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 51%, 51%);
text
color: hsl(230, 51%, 51%);
border
border: 2px solid hsl(230, 51%, 51%);
gradient light
background: linear-gradient(to right, hsl(230, 51%, 71%), hsl(230, 51%, 51%));
gradient dark
background: linear-gradient(to right, hsl(230, 51%, 51%), hsl(230, 51%, 31%))
hex
background-color: #4258C2;
tailwind
bg-[hsl(230,51%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 51%, 51%, 0.4);
css variable
--color-primary: hsl(230, 51%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 51%, 51%)?
HEX: #4258C2 | RGB: rgb(66, 88, 194) | CMYK: 66%, 55%, 0%, 24% | HSV: 230°, 66%, 76%. Copy any format from the conversion table above.
What colors go well with #4258C2?
The complementary color is HSL(50, 51%, 51%). 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, 51%, 51%) in CSS?
As HSL: color: hsl(230, 51%, 51%); — As HEX: color: #4258C2; — As RGB: color: rgb(66, 88, 194); — Tailwind CSS: bg-[hsl(230,51%,51%)] — CSS variable: --color-primary: hsl(230, 51%, 51%);