HSL(229, 95%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,95%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 95%, 35%) | color: hsl(229, 95%, 35%) | |
| HEX | #0424AE | color: #0424AE | |
| RGB | rgb(4, 36, 174) | color: rgb(4, 36, 174) | |
| CMYK | cmyk(98%, 79%, 0%, 32%) | — | |
| HSV | hsv(229, 98%, 68%) | — | |
| HWB | hwb(229 1% 32%) | color: hwb(229 1% 32%) | |
| OKLCH | oklch(0.3707 0.214 264.51) | color: oklch(0.3707 0.214 264.51) | |
| Lab | lab(24.77 46.25 -73.46) | color: lab(24.77 46.25 -73.46) | |
| LCH | lch(24.77 86.81 302.19) | color: lch(24.77 86.81 302.19) |
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)
#12128D — rgb(18, 18, 141)
Deuteranopia (Green-blind)
#100E85 — rgb(16, 14, 133)
Tritanopia (Blue-blind)
#06726C — rgb(6, 114, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 95%, 35%);
text
color: hsl(229, 95%, 35%);
border
border: 2px solid hsl(229, 95%, 35%);
gradient light
background: linear-gradient(to right, hsl(229, 95%, 55%), hsl(229, 95%, 35%));
gradient dark
background: linear-gradient(to right, hsl(229, 95%, 35%), hsl(229, 95%, 15%))
hex
background-color: #0424AE;
tailwind
bg-[hsl(229,95%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 95%, 35%, 0.4);
css variable
--color-primary: hsl(229, 95%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 95%, 35%)?
HEX: #0424AE | RGB: rgb(4, 36, 174) | CMYK: 98%, 79%, 0%, 32% | HSV: 229°, 98%, 68%. Copy any format from the conversion table above.
What colors go well with #0424AE?
The complementary color is HSL(49, 95%, 35%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 95%, 35%) in CSS?
As HSL: color: hsl(229, 95%, 35%); — As HEX: color: #0424AE; — As RGB: color: rgb(4, 36, 174); — Tailwind CSS: bg-[hsl(229,95%,35%)] — CSS variable: --color-primary: hsl(229, 95%, 35%);