HSL(237, 82%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,82%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 82%, 30%) | color: hsl(237, 82%, 30%) | |
| HEX | #0E148B | color: #0E148B | |
| RGB | rgb(14, 20, 139) | color: rgb(14, 20, 139) | |
| CMYK | cmyk(90%, 86%, 0%, 45%) | — | |
| HSV | hsv(237, 90%, 55%) | — | |
| HWB | hwb(237 6% 45%) | color: hwb(237 6% 45%) | |
| OKLCH | oklch(0.3094 0.1847 267.28) | color: oklch(0.3094 0.1847 267.28) | |
| Lab | lab(17.72 43.1 -63.71) | color: lab(17.72 43.1 -63.71) | |
| LCH | lch(17.72 76.92 304.08) | color: lch(17.72 76.92 304.08) |
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)
#11116E — rgb(17, 17, 110)
Deuteranopia (Green-blind)
#101067 — rgb(16, 16, 103)
Tritanopia (Blue-blind)
#0E5752 — rgb(14, 87, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 82%, 30%);
text
color: hsl(237, 82%, 30%);
border
border: 2px solid hsl(237, 82%, 30%);
gradient light
background: linear-gradient(to right, hsl(237, 82%, 50%), hsl(237, 82%, 30%));
gradient dark
background: linear-gradient(to right, hsl(237, 82%, 30%), hsl(237, 82%, 10%))
hex
background-color: #0E148B;
tailwind
bg-[hsl(237,82%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 82%, 30%, 0.4);
css variable
--color-primary: hsl(237, 82%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 82%, 30%)?
HEX: #0E148B | RGB: rgb(14, 20, 139) | CMYK: 90%, 86%, 0%, 45% | HSV: 237°, 90%, 55%. Copy any format from the conversion table above.
What colors go well with #0E148B?
The complementary color is HSL(57, 82%, 30%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 82%, 30%) in CSS?
As HSL: color: hsl(237, 82%, 30%); — As HEX: color: #0E148B; — As RGB: color: rgb(14, 20, 139); — Tailwind CSS: bg-[hsl(237,82%,30%)] — CSS variable: --color-primary: hsl(237, 82%, 30%);