HSL(237, 70%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,70%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 70%, 37%) | color: hsl(237, 70%, 37%) | |
| HEX | #1C23A0 | color: #1C23A0 | |
| RGB | rgb(28, 35, 160) | color: rgb(28, 35, 160) | |
| CMYK | cmyk(83%, 78%, 0%, 37%) | — | |
| HSV | hsv(237, 83%, 63%) | — | |
| HWB | hwb(237 11% 37%) | color: hwb(237 11% 37%) | |
| OKLCH | oklch(0.3598 0.1937 269.33) | color: oklch(0.3598 0.1937 269.33) | |
| Lab | lab(23.63 42.92 -66.87) | color: lab(23.63 42.92 -66.87) | |
| LCH | lch(23.63 79.46 302.69) | color: lch(23.63 79.46 302.69) |
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)
#1F1F82 — rgb(31, 31, 130)
Deuteranopia (Green-blind)
#1F1E7B — rgb(31, 30, 123)
Tritanopia (Blue-blind)
#1C6A65 — rgb(28, 106, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 70%, 37%);
text
color: hsl(237, 70%, 37%);
border
border: 2px solid hsl(237, 70%, 37%);
gradient light
background: linear-gradient(to right, hsl(237, 70%, 57%), hsl(237, 70%, 37%));
gradient dark
background: linear-gradient(to right, hsl(237, 70%, 37%), hsl(237, 70%, 17%))
hex
background-color: #1C23A0;
tailwind
bg-[hsl(237,70%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 70%, 37%, 0.4);
css variable
--color-primary: hsl(237, 70%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 70%, 37%)?
HEX: #1C23A0 | RGB: rgb(28, 35, 160) | CMYK: 83%, 78%, 0%, 37% | HSV: 237°, 83%, 63%. Copy any format from the conversion table above.
What colors go well with #1C23A0?
The complementary color is HSL(57, 70%, 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, 70%, 37%) in CSS?
As HSL: color: hsl(237, 70%, 37%); — As HEX: color: #1C23A0; — As RGB: color: rgb(28, 35, 160); — Tailwind CSS: bg-[hsl(237,70%,37%)] — CSS variable: --color-primary: hsl(237, 70%, 37%);