HSL(207, 74%, 21%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(207,74%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(207, 74%, 21%) | color: hsl(207, 74%, 21%) | |
| HEX | #0E3A5D | color: #0E3A5D | |
| RGB | rgb(14, 58, 93) | color: rgb(14, 58, 93) | |
| CMYK | cmyk(85%, 38%, 0%, 64%) | — | |
| HSV | hsv(207, 85%, 36%) | — | |
| HWB | hwb(207 5% 64%) | color: hwb(207 5% 64%) | |
| OKLCH | oklch(0.3385 0.0773 247.14) | color: oklch(0.3385 0.0773 247.14) | |
| Lab | lab(23.37 -0.71 -25.03) | color: lab(23.37 -0.71 -25.03) | |
| LCH | lch(23.37 25.04 268.38) | color: lch(23.37 25.04 268.38) |
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)
#212155 — rgb(33, 33, 85)
Deuteranopia (Green-blind)
#1F1B53 — rgb(31, 27, 83)
Tritanopia (Blue-blind)
#104E4C — rgb(16, 78, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(207, 74%, 21%);
text
color: hsl(207, 74%, 21%);
border
border: 2px solid hsl(207, 74%, 21%);
gradient light
background: linear-gradient(to right, hsl(207, 74%, 41%), hsl(207, 74%, 21%));
gradient dark
background: linear-gradient(to right, hsl(207, 74%, 21%), hsl(207, 74%, 1%))
hex
background-color: #0E3A5D;
tailwind
bg-[hsl(207,74%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(207, 74%, 21%, 0.4);
css variable
--color-primary: hsl(207, 74%, 21%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(207, 74%, 21%)?
HEX: #0E3A5D | RGB: rgb(14, 58, 93) | CMYK: 85%, 38%, 0%, 64% | HSV: 207°, 85%, 36%. Copy any format from the conversion table above.
What colors go well with #0E3A5D?
The complementary color is HSL(27, 74%, 21%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(207, 74%, 21%) in CSS?
As HSL: color: hsl(207, 74%, 21%); — As HEX: color: #0E3A5D; — As RGB: color: rgb(14, 58, 93); — Tailwind CSS: bg-[hsl(207,74%,21%)] — CSS variable: --color-primary: hsl(207, 74%, 21%);