HSL(237, 60%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,60%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 60%, 37%) | color: hsl(237, 60%, 37%) | |
| HEX | #262B97 | color: #262B97 | |
| RGB | rgb(38, 43, 151) | color: rgb(38, 43, 151) | |
| CMYK | cmyk(75%, 72%, 0%, 41%) | — | |
| HSV | hsv(237, 75%, 59%) | — | |
| HWB | hwb(237 15% 41%) | color: hwb(237 15% 41%) | |
| OKLCH | oklch(0.3672 0.1717 272.21) | color: oklch(0.3672 0.1717 272.21) | |
| Lab | lab(24.87 35.86 -59.29) | color: lab(24.87 35.86 -59.29) | |
| LCH | lch(24.87 69.29 301.17) | color: lch(24.87 69.29 301.17) |
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)
#28287D — rgb(40, 40, 125)
Deuteranopia (Green-blind)
#282877 — rgb(40, 40, 119)
Tritanopia (Blue-blind)
#266864 — rgb(38, 104, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 60%, 37%);
text
color: hsl(237, 60%, 37%);
border
border: 2px solid hsl(237, 60%, 37%);
gradient light
background: linear-gradient(to right, hsl(237, 60%, 57%), hsl(237, 60%, 37%));
gradient dark
background: linear-gradient(to right, hsl(237, 60%, 37%), hsl(237, 60%, 17%))
hex
background-color: #262B97;
tailwind
bg-[hsl(237,60%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 60%, 37%, 0.4);
css variable
--color-primary: hsl(237, 60%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 60%, 37%)?
HEX: #262B97 | RGB: rgb(38, 43, 151) | CMYK: 75%, 72%, 0%, 41% | HSV: 237°, 75%, 59%. Copy any format from the conversion table above.
What colors go well with #262B97?
The complementary color is HSL(57, 60%, 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, 60%, 37%) in CSS?
As HSL: color: hsl(237, 60%, 37%); — As HEX: color: #262B97; — As RGB: color: rgb(38, 43, 151); — Tailwind CSS: bg-[hsl(237,60%,37%)] — CSS variable: --color-primary: hsl(237, 60%, 37%);