HSL(236, 81%, 36%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,81%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 81%, 36%) | color: hsl(236, 81%, 36%) | |
| HEX | #111BA6 | color: #111BA6 | |
| RGB | rgb(17, 27, 166) | color: rgb(17, 27, 166) | |
| CMYK | cmyk(90%, 84%, 0%, 35%) | — | |
| HSV | hsv(236, 90%, 65%) | — | |
| HWB | hwb(236 7% 35%) | color: hwb(236 7% 35%) | |
| OKLCH | oklch(0.3528 0.2101 266.84) | color: oklch(0.3528 0.2101 266.84) | |
| Lab | lab(22.5 48.56 -72.41) | color: lab(22.5 48.56 -72.41) | |
| LCH | lch(22.5 87.19 303.85) | color: lch(22.5 87.19 303.85) |
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)
#151584 — rgb(21, 21, 132)
Deuteranopia (Green-blind)
#15147C — rgb(21, 20, 124)
Tritanopia (Blue-blind)
#126A64 — rgb(18, 106, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 81%, 36%);
text
color: hsl(236, 81%, 36%);
border
border: 2px solid hsl(236, 81%, 36%);
gradient light
background: linear-gradient(to right, hsl(236, 81%, 56%), hsl(236, 81%, 36%));
gradient dark
background: linear-gradient(to right, hsl(236, 81%, 36%), hsl(236, 81%, 16%))
hex
background-color: #111BA6;
tailwind
bg-[hsl(236,81%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 81%, 36%, 0.4);
css variable
--color-primary: hsl(236, 81%, 36%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 81%, 36%)?
HEX: #111BA6 | RGB: rgb(17, 27, 166) | CMYK: 90%, 84%, 0%, 35% | HSV: 236°, 90%, 65%. Copy any format from the conversion table above.
What colors go well with #111BA6?
The complementary color is HSL(56, 81%, 36%). 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, 81%, 36%) in CSS?
As HSL: color: hsl(236, 81%, 36%); — As HEX: color: #111BA6; — As RGB: color: rgb(17, 27, 166); — Tailwind CSS: bg-[hsl(236,81%,36%)] — CSS variable: --color-primary: hsl(236, 81%, 36%);