HSL(211, 92%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,92%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 92%, 40%) | color: hsl(211, 92%, 40%) | |
| HEX | #0863C4 | color: #0863C4 | |
| RGB | rgb(8, 99, 196) | color: rgb(8, 99, 196) | |
| CMYK | cmyk(96%, 49%, 0%, 23%) | — | |
| HSV | hsv(211, 96%, 77%) | — | |
| HWB | hwb(211 3% 23%) | color: hwb(211 3% 23%) | |
| OKLCH | oklch(0.5102 0.1695 255.96) | color: oklch(0.5102 0.1695 255.96) | |
| Lab | lab(42.7 14.28 -57.05) | color: lab(42.7 14.28 -57.05) | |
| LCH | lch(42.7 58.81 284.05) | color: lch(42.7 58.81 284.05) |
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)
#2F30AD — rgb(47, 48, 173)
Deuteranopia (Green-blind)
#2A23A7 — rgb(42, 35, 167)
Tritanopia (Blue-blind)
#0D9A96 — rgb(13, 154, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 92%, 40%);
text
color: hsl(211, 92%, 40%);
border
border: 2px solid hsl(211, 92%, 40%);
gradient light
background: linear-gradient(to right, hsl(211, 92%, 60%), hsl(211, 92%, 40%));
gradient dark
background: linear-gradient(to right, hsl(211, 92%, 40%), hsl(211, 92%, 20%))
hex
background-color: #0863C4;
tailwind
bg-[hsl(211,92%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 92%, 40%, 0.4);
css variable
--color-primary: hsl(211, 92%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 92%, 40%)?
HEX: #0863C4 | RGB: rgb(8, 99, 196) | CMYK: 96%, 49%, 0%, 23% | HSV: 211°, 96%, 77%. Copy any format from the conversion table above.
What colors go well with #0863C4?
The complementary color is HSL(31, 92%, 40%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 92%, 40%) in CSS?
As HSL: color: hsl(211, 92%, 40%); — As HEX: color: #0863C4; — As RGB: color: rgb(8, 99, 196); — Tailwind CSS: bg-[hsl(211,92%,40%)] — CSS variable: --color-primary: hsl(211, 92%, 40%);