HSL(237, 92%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,92%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 92%, 37%) | color: hsl(237, 92%, 37%) | |
| HEX | #0810B5 | color: #0810B5 | |
| RGB | rgb(8, 16, 181) | color: rgb(8, 16, 181) | |
| CMYK | cmyk(96%, 91%, 0%, 29%) | — | |
| HSV | hsv(237, 96%, 71%) | — | |
| HWB | hwb(237 3% 29%) | color: hwb(237 3% 29%) | |
| OKLCH | oklch(0.3602 0.2347 265.25) | color: oklch(0.3602 0.2347 265.25) | |
| Lab | lab(22.85 57.2 -80.85) | color: lab(22.85 57.2 -80.85) | |
| LCH | lch(22.85 99.04 305.28) | color: lch(22.85 99.04 305.28) |
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)
#0B0C8D — rgb(11, 12, 141)
Deuteranopia (Green-blind)
#0B0A84 — rgb(11, 10, 132)
Tritanopia (Blue-blind)
#086E67 — rgb(8, 110, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 92%, 37%);
text
color: hsl(237, 92%, 37%);
border
border: 2px solid hsl(237, 92%, 37%);
gradient light
background: linear-gradient(to right, hsl(237, 92%, 57%), hsl(237, 92%, 37%));
gradient dark
background: linear-gradient(to right, hsl(237, 92%, 37%), hsl(237, 92%, 17%))
hex
background-color: #0810B5;
tailwind
bg-[hsl(237,92%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 92%, 37%, 0.4);
css variable
--color-primary: hsl(237, 92%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 92%, 37%)?
HEX: #0810B5 | RGB: rgb(8, 16, 181) | CMYK: 96%, 91%, 0%, 29% | HSV: 237°, 96%, 71%. Copy any format from the conversion table above.
What colors go well with #0810B5?
The complementary color is HSL(57, 92%, 37%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 92%, 37%) in CSS?
As HSL: color: hsl(237, 92%, 37%); — As HEX: color: #0810B5; — As RGB: color: rgb(8, 16, 181); — Tailwind CSS: bg-[hsl(237,92%,37%)] — CSS variable: --color-primary: hsl(237, 92%, 37%);