HSL(236, 66%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,66%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 66%, 43%) | color: hsl(236, 66%, 43%) | |
| HEX | #252FB6 | color: #252FB6 | |
| RGB | rgb(37, 47, 182) | color: rgb(37, 47, 182) | |
| CMYK | cmyk(80%, 74%, 0%, 29%) | — | |
| HSV | hsv(236, 80%, 71%) | — | |
| HWB | hwb(236 14% 29%) | color: hwb(236 14% 29%) | |
| OKLCH | oklch(0.4056 0.2067 269.79) | color: oklch(0.4056 0.2067 269.79) | |
| Lab | lab(28.91 44.19 -71.36) | color: lab(28.91 44.19 -71.36) | |
| LCH | lch(28.91 83.93 301.77) | color: lch(28.91 83.93 301.77) |
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)
#292995 — rgb(41, 41, 149)
Deuteranopia (Green-blind)
#29288E — rgb(41, 40, 142)
Tritanopia (Blue-blind)
#267C76 — rgb(38, 124, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 66%, 43%);
text
color: hsl(236, 66%, 43%);
border
border: 2px solid hsl(236, 66%, 43%);
gradient light
background: linear-gradient(to right, hsl(236, 66%, 63%), hsl(236, 66%, 43%));
gradient dark
background: linear-gradient(to right, hsl(236, 66%, 43%), hsl(236, 66%, 23%))
hex
background-color: #252FB6;
tailwind
bg-[hsl(236,66%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 66%, 43%, 0.4);
css variable
--color-primary: hsl(236, 66%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 66%, 43%)?
HEX: #252FB6 | RGB: rgb(37, 47, 182) | CMYK: 80%, 74%, 0%, 29% | HSV: 236°, 80%, 71%. Copy any format from the conversion table above.
What colors go well with #252FB6?
The complementary color is HSL(56, 66%, 43%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 66%, 43%) in CSS?
As HSL: color: hsl(236, 66%, 43%); — As HEX: color: #252FB6; — As RGB: color: rgb(37, 47, 182); — Tailwind CSS: bg-[hsl(236,66%,43%)] — CSS variable: --color-primary: hsl(236, 66%, 43%);