HSL(232, 82%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,82%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 82%, 30%) | color: hsl(232, 82%, 30%) | |
| HEX | #0E1E8B | color: #0E1E8B | |
| RGB | rgb(14, 30, 139) | color: rgb(14, 30, 139) | |
| CMYK | cmyk(90%, 78%, 0%, 45%) | — | |
| HSV | hsv(232, 90%, 55%) | — | |
| HWB | hwb(232 6% 45%) | color: hwb(232 6% 45%) | |
| OKLCH | oklch(0.3224 0.1761 266.69) | color: oklch(0.3224 0.1761 266.69) | |
| Lab | lab(19.58 37.71 -60.63) | color: lab(19.58 37.71 -60.63) | |
| LCH | lch(19.58 71.4 301.88) | color: lch(19.58 71.4 301.88) |
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)
#151571 — rgb(21, 21, 113)
Deuteranopia (Green-blind)
#14136A — rgb(20, 19, 106)
Tritanopia (Blue-blind)
#0F5C57 — rgb(15, 92, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 82%, 30%);
text
color: hsl(232, 82%, 30%);
border
border: 2px solid hsl(232, 82%, 30%);
gradient light
background: linear-gradient(to right, hsl(232, 82%, 50%), hsl(232, 82%, 30%));
gradient dark
background: linear-gradient(to right, hsl(232, 82%, 30%), hsl(232, 82%, 10%))
hex
background-color: #0E1E8B;
tailwind
bg-[hsl(232,82%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 82%, 30%, 0.4);
css variable
--color-primary: hsl(232, 82%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 82%, 30%)?
HEX: #0E1E8B | RGB: rgb(14, 30, 139) | CMYK: 90%, 78%, 0%, 45% | HSV: 232°, 90%, 55%. Copy any format from the conversion table above.
What colors go well with #0E1E8B?
The complementary color is HSL(52, 82%, 30%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 82%, 30%) in CSS?
As HSL: color: hsl(232, 82%, 30%); — As HEX: color: #0E1E8B; — As RGB: color: rgb(14, 30, 139); — Tailwind CSS: bg-[hsl(232,82%,30%)] — CSS variable: --color-primary: hsl(232, 82%, 30%);