HSL(246, 59%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,59%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 59%, 51%) | color: hsl(246, 59%, 51%) | |
| HEX | #4738CC | color: #4738CC | |
| RGB | rgb(71, 56, 204) | color: rgb(71, 56, 204) | |
| CMYK | cmyk(65%, 73%, 0%, 20%) | — | |
| HSV | hsv(246, 73%, 80%) | — | |
| HWB | hwb(246 22% 20%) | color: hwb(246 22% 20%) | |
| OKLCH | oklch(0.4616 0.2161 278.26) | color: oklch(0.4616 0.2161 278.26) | |
| Lab | lab(35.06 49.58 -74.08) | color: lab(35.06 49.58 -74.08) | |
| LCH | lch(35.06 89.14 303.79) | color: lch(35.06 89.14 303.79) |
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)
#4140A8 — rgb(65, 64, 168)
Deuteranopia (Green-blind)
#4143A0 — rgb(65, 67, 160)
Tritanopia (Blue-blind)
#468C86 — rgb(70, 140, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 59%, 51%);
text
color: hsl(246, 59%, 51%);
border
border: 2px solid hsl(246, 59%, 51%);
gradient light
background: linear-gradient(to right, hsl(246, 59%, 71%), hsl(246, 59%, 51%));
gradient dark
background: linear-gradient(to right, hsl(246, 59%, 51%), hsl(246, 59%, 31%))
hex
background-color: #4738CC;
tailwind
bg-[hsl(246,59%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 59%, 51%, 0.4);
css variable
--color-primary: hsl(246, 59%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 59%, 51%)?
HEX: #4738CC | RGB: rgb(71, 56, 204) | CMYK: 65%, 73%, 0%, 20% | HSV: 246°, 73%, 80%. Copy any format from the conversion table above.
What colors go well with #4738CC?
The complementary color is HSL(66, 59%, 51%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 59%, 51%) in CSS?
As HSL: color: hsl(246, 59%, 51%); — As HEX: color: #4738CC; — As RGB: color: rgb(71, 56, 204); — Tailwind CSS: bg-[hsl(246,59%,51%)] — CSS variable: --color-primary: hsl(246, 59%, 51%);