HSL(208, 95%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,95%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 95%, 30%) | color: hsl(208, 95%, 30%) | |
| HEX | #045195 | color: #045195 | |
| RGB | rgb(4, 81, 149) | color: rgb(4, 81, 149) | |
| CMYK | cmyk(97%, 46%, 0%, 42%) | — | |
| HSV | hsv(208, 97%, 58%) | — | |
| HWB | hwb(208 2% 42%) | color: hwb(208 2% 42%) | |
| OKLCH | oklch(0.4337 0.1296 252.6) | color: oklch(0.4337 0.1296 252.6) | |
| Lab | lab(34.15 6.7 -43.02) | color: lab(34.15 6.7 -43.02) | |
| LCH | lch(34.15 43.54 278.85) | color: lch(34.15 43.54 278.85) |
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)
#252685 — rgb(37, 38, 133)
Deuteranopia (Green-blind)
#211B81 — rgb(33, 27, 129)
Tritanopia (Blue-blind)
#087875 — rgb(8, 120, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 95%, 30%);
text
color: hsl(208, 95%, 30%);
border
border: 2px solid hsl(208, 95%, 30%);
gradient light
background: linear-gradient(to right, hsl(208, 95%, 50%), hsl(208, 95%, 30%));
gradient dark
background: linear-gradient(to right, hsl(208, 95%, 30%), hsl(208, 95%, 10%))
hex
background-color: #045195;
tailwind
bg-[hsl(208,95%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 95%, 30%, 0.4);
css variable
--color-primary: hsl(208, 95%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 95%, 30%)?
HEX: #045195 | RGB: rgb(4, 81, 149) | CMYK: 97%, 46%, 0%, 42% | HSV: 208°, 97%, 58%. Copy any format from the conversion table above.
What colors go well with #045195?
The complementary color is HSL(28, 95%, 30%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 95%, 30%) in CSS?
As HSL: color: hsl(208, 95%, 30%); — As HEX: color: #045195; — As RGB: color: rgb(4, 81, 149); — Tailwind CSS: bg-[hsl(208,95%,30%)] — CSS variable: --color-primary: hsl(208, 95%, 30%);