HSL(231, 100%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,100%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 100%, 33%) | color: hsl(231, 100%, 33%) | |
| HEX | #0019A8 | color: #0019A8 | |
| RGB | rgb(0, 25, 168) | color: rgb(0, 25, 168) | |
| CMYK | cmyk(100%, 85%, 0%, 34%) | — | |
| HSV | hsv(231, 100%, 66%) | — | |
| HWB | hwb(231 0% 34%) | color: hwb(231 0% 34%) | |
| OKLCH | oklch(0.349 0.2167 264.19) | color: oklch(0.349 0.2167 264.19) | |
| Lab | lab(22.02 49.74 -74.42) | color: lab(22.02 49.74 -74.42) | |
| LCH | lch(22.02 89.51 303.76) | color: lch(22.02 89.51 303.76) |
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)
#0B0B85 — rgb(11, 11, 133)
Deuteranopia (Green-blind)
#09087D — rgb(9, 8, 125)
Tritanopia (Blue-blind)
#016A64 — rgb(1, 106, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 100%, 33%);
text
color: hsl(231, 100%, 33%);
border
border: 2px solid hsl(231, 100%, 33%);
gradient light
background: linear-gradient(to right, hsl(231, 100%, 53%), hsl(231, 100%, 33%));
gradient dark
background: linear-gradient(to right, hsl(231, 100%, 33%), hsl(231, 100%, 13%))
hex
background-color: #0019A8;
tailwind
bg-[hsl(231,100%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 100%, 33%, 0.4);
css variable
--color-primary: hsl(231, 100%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 100%, 33%)?
HEX: #0019A8 | RGB: rgb(0, 25, 168) | CMYK: 100%, 85%, 0%, 34% | HSV: 231°, 100%, 66%. Copy any format from the conversion table above.
What colors go well with #0019A8?
The complementary color is HSL(51, 100%, 33%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 100%, 33%) in CSS?
As HSL: color: hsl(231, 100%, 33%); — As HEX: color: #0019A8; — As RGB: color: rgb(0, 25, 168); — Tailwind CSS: bg-[hsl(231,100%,33%)] — CSS variable: --color-primary: hsl(231, 100%, 33%);