HSL(215, 80%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,80%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 80%, 29%) | color: hsl(215, 80%, 29%) | |
| HEX | #0F4085 | color: #0F4085 | |
| RGB | rgb(15, 64, 133) | color: rgb(15, 64, 133) | |
| CMYK | cmyk(89%, 52%, 0%, 48%) | — | |
| HSV | hsv(215, 89%, 52%) | — | |
| HWB | hwb(215 6% 48%) | color: hwb(215 6% 48%) | |
| OKLCH | oklch(0.3832 0.1267 258.35) | color: oklch(0.3832 0.1267 258.35) | |
| Lab | lab(28.01 12.25 -43.08) | color: lab(28.01 12.25 -43.08) | |
| LCH | lch(28.01 44.79 285.87) | color: lch(28.01 44.79 285.87) |
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)
#242574 — rgb(36, 37, 116)
Deuteranopia (Green-blind)
#211E70 — rgb(33, 30, 112)
Tritanopia (Blue-blind)
#116764 — rgb(17, 103, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 80%, 29%);
text
color: hsl(215, 80%, 29%);
border
border: 2px solid hsl(215, 80%, 29%);
gradient light
background: linear-gradient(to right, hsl(215, 80%, 49%), hsl(215, 80%, 29%));
gradient dark
background: linear-gradient(to right, hsl(215, 80%, 29%), hsl(215, 80%, 9%))
hex
background-color: #0F4085;
tailwind
bg-[hsl(215,80%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 80%, 29%, 0.4);
css variable
--color-primary: hsl(215, 80%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 80%, 29%)?
HEX: #0F4085 | RGB: rgb(15, 64, 133) | CMYK: 89%, 52%, 0%, 48% | HSV: 215°, 89%, 52%. Copy any format from the conversion table above.
What colors go well with #0F4085?
The complementary color is HSL(35, 80%, 29%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(215, 80%, 29%) in CSS?
As HSL: color: hsl(215, 80%, 29%); — As HEX: color: #0F4085; — As RGB: color: rgb(15, 64, 133); — Tailwind CSS: bg-[hsl(215,80%,29%)] — CSS variable: --color-primary: hsl(215, 80%, 29%);