HSL(248, 100%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,100%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 100%, 37%) | color: hsl(248, 100%, 37%) | |
| HEX | #1900BD | color: #1900BD | |
| RGB | rgb(25, 0, 189) | color: rgb(25, 0, 189) | |
| CMYK | cmyk(87%, 100%, 0%, 26%) | — | |
| HSV | hsv(248, 100%, 74%) | — | |
| HWB | hwb(248 0% 26%) | color: hwb(248 0% 26%) | |
| OKLCH | oklch(0.3676 0.2453 268.01) | color: oklch(0.3676 0.2453 268.01) | |
| Lab | lab(23.27 63.45 -84.91) | color: lab(23.27 63.45 -84.91) | |
| LCH | lch(23.27 106 306.77) | color: lch(23.27 106 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)
#0E0E8F — rgb(14, 14, 143)
Deuteranopia (Green-blind)
#101284 — rgb(16, 18, 132)
Tritanopia (Blue-blind)
#186B63 — rgb(24, 107, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 100%, 37%);
text
color: hsl(248, 100%, 37%);
border
border: 2px solid hsl(248, 100%, 37%);
gradient light
background: linear-gradient(to right, hsl(248, 100%, 57%), hsl(248, 100%, 37%));
gradient dark
background: linear-gradient(to right, hsl(248, 100%, 37%), hsl(248, 100%, 17%))
hex
background-color: #1900BD;
tailwind
bg-[hsl(248,100%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 100%, 37%, 0.4);
css variable
--color-primary: hsl(248, 100%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 100%, 37%)?
HEX: #1900BD | RGB: rgb(25, 0, 189) | CMYK: 87%, 100%, 0%, 26% | HSV: 248°, 100%, 74%. Copy any format from the conversion table above.
What colors go well with #1900BD?
The complementary color is HSL(68, 100%, 37%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 100%, 37%) in CSS?
As HSL: color: hsl(248, 100%, 37%); — As HEX: color: #1900BD; — As RGB: color: rgb(25, 0, 189); — Tailwind CSS: bg-[hsl(248,100%,37%)] — CSS variable: --color-primary: hsl(248, 100%, 37%);