HSL(219, 84%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,84%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 84%, 34%) | color: hsl(219, 84%, 34%) | |
| HEX | #0E41A0 | color: #0E41A0 | |
| RGB | rgb(14, 65, 160) | color: rgb(14, 65, 160) | |
| CMYK | cmyk(91%, 59%, 0%, 37%) | — | |
| HSV | hsv(219, 91%, 63%) | — | |
| HWB | hwb(219 6% 37%) | color: hwb(219 6% 37%) | |
| OKLCH | oklch(0.4083 0.163 261.59) | color: oklch(0.4083 0.163 261.59) | |
| Lab | lab(30.43 22.73 -55.7) | color: lab(30.43 22.73 -55.7) | |
| LCH | lch(30.43 60.16 292.2) | color: lch(30.43 60.16 292.2) |
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)
#242589 — rgb(36, 37, 137)
Deuteranopia (Green-blind)
#211D84 — rgb(33, 29, 132)
Tritanopia (Blue-blind)
#117773 — rgb(17, 119, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 84%, 34%);
text
color: hsl(219, 84%, 34%);
border
border: 2px solid hsl(219, 84%, 34%);
gradient light
background: linear-gradient(to right, hsl(219, 84%, 54%), hsl(219, 84%, 34%));
gradient dark
background: linear-gradient(to right, hsl(219, 84%, 34%), hsl(219, 84%, 14%))
hex
background-color: #0E41A0;
tailwind
bg-[hsl(219,84%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 84%, 34%, 0.4);
css variable
--color-primary: hsl(219, 84%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 84%, 34%)?
HEX: #0E41A0 | RGB: rgb(14, 65, 160) | CMYK: 91%, 59%, 0%, 37% | HSV: 219°, 91%, 63%. Copy any format from the conversion table above.
What colors go well with #0E41A0?
The complementary color is HSL(39, 84%, 34%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(219, 84%, 34%) in CSS?
As HSL: color: hsl(219, 84%, 34%); — As HEX: color: #0E41A0; — As RGB: color: rgb(14, 65, 160); — Tailwind CSS: bg-[hsl(219,84%,34%)] — CSS variable: --color-primary: hsl(219, 84%, 34%);