HSL(205, 70%, 18%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(205,70%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(205, 70%, 18%) | color: hsl(205, 70%, 18%) | |
| HEX | #0E334E | color: #0E334E | |
| RGB | rgb(14, 51, 78) | color: rgb(14, 51, 78) | |
| CMYK | cmyk(82%, 35%, 0%, 69%) | — | |
| HSV | hsv(205, 82%, 31%) | — | |
| HWB | hwb(205 6% 69%) | color: hwb(205 6% 69%) | |
| OKLCH | oklch(0.3097 0.0638 244.34) | color: oklch(0.3097 0.0638 244.34) | |
| Lab | lab(20.09 -2.24 -20.28) | color: lab(20.09 -2.24 -20.28) | |
| LCH | lch(20.09 20.4 263.7) | color: lch(20.09 20.4 263.7) |
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)
#1E1E47 — rgb(30, 30, 71)
Deuteranopia (Green-blind)
#1C1946 — rgb(28, 25, 70)
Tritanopia (Blue-blind)
#104241 — rgb(16, 66, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(205, 70%, 18%);
text
color: hsl(205, 70%, 18%);
border
border: 2px solid hsl(205, 70%, 18%);
gradient light
background: linear-gradient(to right, hsl(205, 70%, 38%), hsl(205, 70%, 18%));
gradient dark
background: linear-gradient(to right, hsl(205, 70%, 18%), hsl(205, 70%, 0%))
hex
background-color: #0E334E;
tailwind
bg-[hsl(205,70%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(205, 70%, 18%, 0.4);
css variable
--color-primary: hsl(205, 70%, 18%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(205, 70%, 18%)?
HEX: #0E334E | RGB: rgb(14, 51, 78) | CMYK: 82%, 35%, 0%, 69% | HSV: 205°, 82%, 31%. Copy any format from the conversion table above.
What colors go well with #0E334E?
The complementary color is HSL(25, 70%, 18%). For a triadic harmony, use hues 205°, 325°, and 85°. For analogous combinations, try hues 175° and 235°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(205, 70%, 18%) in CSS?
As HSL: color: hsl(205, 70%, 18%); — As HEX: color: #0E334E; — As RGB: color: rgb(14, 51, 78); — Tailwind CSS: bg-[hsl(205,70%,18%)] — CSS variable: --color-primary: hsl(205, 70%, 18%);