HSL(233, 96%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,96%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 96%, 40%) | color: hsl(233, 96%, 40%) | |
| HEX | #041BC8 | color: #041BC8 | |
| RGB | rgb(4, 27, 200) | color: rgb(4, 27, 200) | |
| CMYK | cmyk(98%, 87%, 0%, 22%) | — | |
| HSV | hsv(233, 98%, 78%) | — | |
| HWB | hwb(233 2% 22%) | color: hwb(233 2% 22%) | |
| OKLCH | oklch(0.3933 0.2493 264.62) | color: oklch(0.3933 0.2493 264.62) | |
| Lab | lab(26.67 58.72 -85.73) | color: lab(26.67 58.72 -85.73) | |
| LCH | lch(26.67 103.91 304.41) | color: lch(26.67 103.91 304.41) |
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)
#0E0E9E — rgb(14, 14, 158)
Deuteranopia (Green-blind)
#0D0B94 — rgb(13, 11, 148)
Tritanopia (Blue-blind)
#057D76 — rgb(5, 125, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 96%, 40%);
text
color: hsl(233, 96%, 40%);
border
border: 2px solid hsl(233, 96%, 40%);
gradient light
background: linear-gradient(to right, hsl(233, 96%, 60%), hsl(233, 96%, 40%));
gradient dark
background: linear-gradient(to right, hsl(233, 96%, 40%), hsl(233, 96%, 20%))
hex
background-color: #041BC8;
tailwind
bg-[hsl(233,96%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 96%, 40%, 0.4);
css variable
--color-primary: hsl(233, 96%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 96%, 40%)?
HEX: #041BC8 | RGB: rgb(4, 27, 200) | CMYK: 98%, 87%, 0%, 22% | HSV: 233°, 98%, 78%. Copy any format from the conversion table above.
What colors go well with #041BC8?
The complementary color is HSL(53, 96%, 40%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 96%, 40%) in CSS?
As HSL: color: hsl(233, 96%, 40%); — As HEX: color: #041BC8; — As RGB: color: rgb(4, 27, 200); — Tailwind CSS: bg-[hsl(233,96%,40%)] — CSS variable: --color-primary: hsl(233, 96%, 40%);