HSL(250, 92%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,92%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 92%, 37%) | color: hsl(250, 92%, 37%) | |
| HEX | #2408B5 | color: #2408B5 | |
| RGB | rgb(36, 8, 181) | color: rgb(36, 8, 181) | |
| CMYK | cmyk(80%, 96%, 0%, 29%) | — | |
| HSV | hsv(250, 96%, 71%) | — | |
| HWB | hwb(250 3% 29%) | color: hwb(250 3% 29%) | |
| OKLCH | oklch(0.3662 0.2314 271.47) | color: oklch(0.3662 0.2314 271.47) | |
| Lab | lab(23.28 59.85 -80.1) | color: lab(23.28 59.85 -80.1) | |
| LCH | lch(23.28 99.99 306.77) | color: lch(23.28 99.99 306.77) |
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)
#18188B — rgb(24, 24, 139)
Deuteranopia (Green-blind)
#1A1C81 — rgb(26, 28, 129)
Tritanopia (Blue-blind)
#236A63 — rgb(35, 106, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 92%, 37%);
text
color: hsl(250, 92%, 37%);
border
border: 2px solid hsl(250, 92%, 37%);
gradient light
background: linear-gradient(to right, hsl(250, 92%, 57%), hsl(250, 92%, 37%));
gradient dark
background: linear-gradient(to right, hsl(250, 92%, 37%), hsl(250, 92%, 17%))
hex
background-color: #2408B5;
tailwind
bg-[hsl(250,92%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 92%, 37%, 0.4);
css variable
--color-primary: hsl(250, 92%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 92%, 37%)?
HEX: #2408B5 | RGB: rgb(36, 8, 181) | CMYK: 80%, 96%, 0%, 29% | HSV: 250°, 96%, 71%. Copy any format from the conversion table above.
What colors go well with #2408B5?
The complementary color is HSL(70, 92%, 37%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(250, 92%, 37%) in CSS?
As HSL: color: hsl(250, 92%, 37%); — As HEX: color: #2408B5; — As RGB: color: rgb(36, 8, 181); — Tailwind CSS: bg-[hsl(250,92%,37%)] — CSS variable: --color-primary: hsl(250, 92%, 37%);