HSL(227, 63%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,63%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 63%, 16%) | color: hsl(227, 63%, 16%) | |
| HEX | #0F1A43 | color: #0F1A43 | |
| RGB | rgb(15, 26, 67) | color: rgb(15, 26, 67) | |
| CMYK | cmyk(78%, 61%, 0%, 74%) | — | |
| HSV | hsv(227, 78%, 26%) | — | |
| HWB | hwb(227 6% 74%) | color: hwb(227 6% 74%) | |
| OKLCH | oklch(0.2362 0.0789 268.4) | color: oklch(0.2362 0.0789 268.4) | |
| Lab | lab(10.89 11.69 -27.42) | color: lab(10.89 11.69 -27.42) | |
| LCH | lch(10.89 29.81 293.09) | color: lch(10.89 29.81 293.09) |
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)
#141439 — rgb(20, 20, 57)
Deuteranopia (Green-blind)
#131237 — rgb(19, 18, 55)
Tritanopia (Blue-blind)
#103130 — rgb(16, 49, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 63%, 16%);
text
color: hsl(227, 63%, 16%);
border
border: 2px solid hsl(227, 63%, 16%);
gradient light
background: linear-gradient(to right, hsl(227, 63%, 36%), hsl(227, 63%, 16%));
gradient dark
background: linear-gradient(to right, hsl(227, 63%, 16%), hsl(227, 63%, 0%))
hex
background-color: #0F1A43;
tailwind
bg-[hsl(227,63%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 63%, 16%, 0.4);
css variable
--color-primary: hsl(227, 63%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 63%, 16%)?
HEX: #0F1A43 | RGB: rgb(15, 26, 67) | CMYK: 78%, 61%, 0%, 74% | HSV: 227°, 78%, 26%. Copy any format from the conversion table above.
What colors go well with #0F1A43?
The complementary color is HSL(47, 63%, 16%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 63%, 16%) in CSS?
As HSL: color: hsl(227, 63%, 16%); — As HEX: color: #0F1A43; — As RGB: color: rgb(15, 26, 67); — Tailwind CSS: bg-[hsl(227,63%,16%)] — CSS variable: --color-primary: hsl(227, 63%, 16%);