HSL(230, 82%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,82%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 82%, 32%) | color: hsl(230, 82%, 32%) | |
| HEX | #0F2595 | color: #0F2595 | |
| RGB | rgb(15, 37, 149) | color: rgb(15, 37, 149) | |
| CMYK | cmyk(90%, 75%, 0%, 42%) | — | |
| HSV | hsv(230, 90%, 58%) | — | |
| HWB | hwb(230 6% 42%) | color: hwb(230 6% 42%) | |
| OKLCH | oklch(0.3452 0.1813 266.15) | color: oklch(0.3452 0.1813 266.15) | |
| Lab | lab(22.28 37.15 -62.37) | color: lab(22.28 37.15 -62.37) | |
| LCH | lch(22.28 72.6 300.78) | color: lch(22.28 72.6 300.78) |
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)
#19197A — rgb(25, 25, 122)
Deuteranopia (Green-blind)
#171673 — rgb(23, 22, 115)
Tritanopia (Blue-blind)
#106560 — rgb(16, 101, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 82%, 32%);
text
color: hsl(230, 82%, 32%);
border
border: 2px solid hsl(230, 82%, 32%);
gradient light
background: linear-gradient(to right, hsl(230, 82%, 52%), hsl(230, 82%, 32%));
gradient dark
background: linear-gradient(to right, hsl(230, 82%, 32%), hsl(230, 82%, 12%))
hex
background-color: #0F2595;
tailwind
bg-[hsl(230,82%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 82%, 32%, 0.4);
css variable
--color-primary: hsl(230, 82%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 82%, 32%)?
HEX: #0F2595 | RGB: rgb(15, 37, 149) | CMYK: 90%, 75%, 0%, 42% | HSV: 230°, 90%, 58%. Copy any format from the conversion table above.
What colors go well with #0F2595?
The complementary color is HSL(50, 82%, 32%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 82%, 32%) in CSS?
As HSL: color: hsl(230, 82%, 32%); — As HEX: color: #0F2595; — As RGB: color: rgb(15, 37, 149); — Tailwind CSS: bg-[hsl(230,82%,32%)] — CSS variable: --color-primary: hsl(230, 82%, 32%);