HSL(239, 95%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(239,95%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(239, 95%, 35%) | color: hsl(239, 95%, 35%) | |
| HEX | #0407AE | color: #0407AE | |
| RGB | rgb(4, 7, 174) | color: rgb(4, 7, 174) | |
| CMYK | cmyk(98%, 96%, 0%, 32%) | — | |
| HSV | hsv(239, 98%, 68%) | — | |
| HWB | hwb(239 1% 32%) | color: hwb(239 1% 32%) | |
| OKLCH | oklch(0.3443 0.2317 264.73) | color: oklch(0.3443 0.2317 264.73) | |
| Lab | lab(20.95 57.66 -79.83) | color: lab(20.95 57.66 -79.83) | |
| LCH | lch(20.95 98.48 305.84) | color: lch(20.95 98.48 305.84) |
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)
#050586 — rgb(5, 5, 134)
Deuteranopia (Green-blind)
#05057C — rgb(5, 5, 124)
Tritanopia (Blue-blind)
#04665F — rgb(4, 102, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(239, 95%, 35%);
text
color: hsl(239, 95%, 35%);
border
border: 2px solid hsl(239, 95%, 35%);
gradient light
background: linear-gradient(to right, hsl(239, 95%, 55%), hsl(239, 95%, 35%));
gradient dark
background: linear-gradient(to right, hsl(239, 95%, 35%), hsl(239, 95%, 15%))
hex
background-color: #0407AE;
tailwind
bg-[hsl(239,95%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(239, 95%, 35%, 0.4);
css variable
--color-primary: hsl(239, 95%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(239, 95%, 35%)?
HEX: #0407AE | RGB: rgb(4, 7, 174) | CMYK: 98%, 96%, 0%, 32% | HSV: 239°, 98%, 68%. Copy any format from the conversion table above.
What colors go well with #0407AE?
The complementary color is HSL(59, 95%, 35%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(239, 95%, 35%) in CSS?
As HSL: color: hsl(239, 95%, 35%); — As HEX: color: #0407AE; — As RGB: color: rgb(4, 7, 174); — Tailwind CSS: bg-[hsl(239,95%,35%)] — CSS variable: --color-primary: hsl(239, 95%, 35%);