HSL(250, 100%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,100%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 100%, 37%) | color: hsl(250, 100%, 37%) | |
| HEX | #1F00BD | color: #1F00BD | |
| RGB | rgb(31, 0, 189) | color: rgb(31, 0, 189) | |
| CMYK | cmyk(84%, 100%, 0%, 26%) | — | |
| HSV | hsv(250, 100%, 74%) | — | |
| HWB | hwb(250 0% 26%) | color: hwb(250 0% 26%) | |
| OKLCH | oklch(0.3703 0.2437 269.52) | color: oklch(0.3703 0.2437 269.52) | |
| Lab | lab(23.55 63.55 -84.43) | color: lab(23.55 63.55 -84.43) | |
| LCH | lch(23.55 105.67 306.97) | color: lch(23.55 105.67 306.97) |
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)
#12118F — rgb(18, 17, 143)
Deuteranopia (Green-blind)
#131684 — rgb(19, 22, 132)
Tritanopia (Blue-blind)
#1D6B63 — rgb(29, 107, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 100%, 37%);
text
color: hsl(250, 100%, 37%);
border
border: 2px solid hsl(250, 100%, 37%);
gradient light
background: linear-gradient(to right, hsl(250, 100%, 57%), hsl(250, 100%, 37%));
gradient dark
background: linear-gradient(to right, hsl(250, 100%, 37%), hsl(250, 100%, 17%))
hex
background-color: #1F00BD;
tailwind
bg-[hsl(250,100%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 100%, 37%, 0.4);
css variable
--color-primary: hsl(250, 100%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 100%, 37%)?
HEX: #1F00BD | RGB: rgb(31, 0, 189) | CMYK: 84%, 100%, 0%, 26% | HSV: 250°, 100%, 74%. Copy any format from the conversion table above.
What colors go well with #1F00BD?
The complementary color is HSL(70, 100%, 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, 100%, 37%) in CSS?
As HSL: color: hsl(250, 100%, 37%); — As HEX: color: #1F00BD; — As RGB: color: rgb(31, 0, 189); — Tailwind CSS: bg-[hsl(250,100%,37%)] — CSS variable: --color-primary: hsl(250, 100%, 37%);