HSL(225, 80%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(225,80%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(225, 80%, 19%) | color: hsl(225, 80%, 19%) | |
| HEX | #0A1D57 | color: #0A1D57 | |
| RGB | rgb(10, 29, 87) | color: rgb(10, 29, 87) | |
| CMYK | cmyk(89%, 67%, 0%, 66%) | — | |
| HSV | hsv(225, 89%, 34%) | — | |
| HWB | hwb(225 4% 66%) | color: hwb(225 4% 66%) | |
| OKLCH | oklch(0.2602 0.1076 265.34) | color: oklch(0.2602 0.1076 265.34) | |
| Lab | lab(13.42 17.49 -37.07) | color: lab(13.42 17.49 -37.07) | |
| LCH | lch(13.42 40.99 295.26) | color: lch(13.42 40.99 295.26) |
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)
#121249 — rgb(18, 18, 73)
Deuteranopia (Green-blind)
#111046 — rgb(17, 16, 70)
Tritanopia (Blue-blind)
#0B3E3B — rgb(11, 62, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(225, 80%, 19%);
text
color: hsl(225, 80%, 19%);
border
border: 2px solid hsl(225, 80%, 19%);
gradient light
background: linear-gradient(to right, hsl(225, 80%, 39%), hsl(225, 80%, 19%));
gradient dark
background: linear-gradient(to right, hsl(225, 80%, 19%), hsl(225, 80%, 0%))
hex
background-color: #0A1D57;
tailwind
bg-[hsl(225,80%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(225, 80%, 19%, 0.4);
css variable
--color-primary: hsl(225, 80%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(225, 80%, 19%)?
HEX: #0A1D57 | RGB: rgb(10, 29, 87) | CMYK: 89%, 67%, 0%, 66% | HSV: 225°, 89%, 34%. Copy any format from the conversion table above.
What colors go well with #0A1D57?
The complementary color is HSL(45, 80%, 19%). For a triadic harmony, use hues 225°, 345°, and 105°. For analogous combinations, try hues 195° and 255°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(225, 80%, 19%) in CSS?
As HSL: color: hsl(225, 80%, 19%); — As HEX: color: #0A1D57; — As RGB: color: rgb(10, 29, 87); — Tailwind CSS: bg-[hsl(225,80%,19%)] — CSS variable: --color-primary: hsl(225, 80%, 19%);