HSL(237, 77%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,77%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 77%, 48%) | color: hsl(237, 77%, 48%) | |
| HEX | #1C26D9 | color: #1C26D9 | |
| RGB | rgb(28, 38, 217) | color: rgb(28, 38, 217) | |
| CMYK | cmyk(87%, 82%, 0%, 15%) | — | |
| HSV | hsv(237, 87%, 85%) | — | |
| HWB | hwb(237 11% 15%) | color: hwb(237 11% 15%) | |
| OKLCH | oklch(0.4308 0.2564 267.22) | color: oklch(0.4308 0.2564 267.22) | |
| Lab | lab(30.98 59.63 -88.43) | color: lab(30.98 59.63 -88.43) | |
| LCH | lch(30.98 106.66 303.99) | color: lch(30.98 106.66 303.99) |
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)
#2020AE — rgb(32, 32, 174)
Deuteranopia (Green-blind)
#201FA3 — rgb(32, 31, 163)
Tritanopia (Blue-blind)
#1D8B84 — rgb(29, 139, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 77%, 48%);
text
color: hsl(237, 77%, 48%);
border
border: 2px solid hsl(237, 77%, 48%);
gradient light
background: linear-gradient(to right, hsl(237, 77%, 68%), hsl(237, 77%, 48%));
gradient dark
background: linear-gradient(to right, hsl(237, 77%, 48%), hsl(237, 77%, 28%))
hex
background-color: #1C26D9;
tailwind
bg-[hsl(237,77%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 77%, 48%, 0.4);
css variable
--color-primary: hsl(237, 77%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 77%, 48%)?
HEX: #1C26D9 | RGB: rgb(28, 38, 217) | CMYK: 87%, 82%, 0%, 15% | HSV: 237°, 87%, 85%. Copy any format from the conversion table above.
What colors go well with #1C26D9?
The complementary color is HSL(57, 77%, 48%). 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, 77%, 48%) in CSS?
As HSL: color: hsl(237, 77%, 48%); — As HEX: color: #1C26D9; — As RGB: color: rgb(28, 38, 217); — Tailwind CSS: bg-[hsl(237,77%,48%)] — CSS variable: --color-primary: hsl(237, 77%, 48%);