HSL(230, 77%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,77%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 77%, 48%) | color: hsl(230, 77%, 48%) | |
| HEX | #1C3CD9 | color: #1C3CD9 | |
| RGB | rgb(28, 60, 217) | color: rgb(28, 60, 217) | |
| CMYK | cmyk(87%, 72%, 0%, 15%) | — | |
| HSV | hsv(230, 87%, 85%) | — | |
| HWB | hwb(230 11% 15%) | color: hwb(230 11% 15%) | |
| OKLCH | oklch(0.459 0.2378 266.16) | color: oklch(0.459 0.2378 266.16) | |
| Lab | lab(34.98 48.14 -81.8) | color: lab(34.98 48.14 -81.8) | |
| LCH | lch(34.98 94.91 300.48) | color: lch(34.98 94.91 300.48) |
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)
#2A2AB3 — rgb(42, 42, 179)
Deuteranopia (Green-blind)
#2826AA — rgb(40, 38, 170)
Tritanopia (Blue-blind)
#1E958E — rgb(30, 149, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 77%, 48%);
text
color: hsl(230, 77%, 48%);
border
border: 2px solid hsl(230, 77%, 48%);
gradient light
background: linear-gradient(to right, hsl(230, 77%, 68%), hsl(230, 77%, 48%));
gradient dark
background: linear-gradient(to right, hsl(230, 77%, 48%), hsl(230, 77%, 28%))
hex
background-color: #1C3CD9;
tailwind
bg-[hsl(230,77%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 77%, 48%, 0.4);
css variable
--color-primary: hsl(230, 77%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 77%, 48%)?
HEX: #1C3CD9 | RGB: rgb(28, 60, 217) | CMYK: 87%, 72%, 0%, 15% | HSV: 230°, 87%, 85%. Copy any format from the conversion table above.
What colors go well with #1C3CD9?
The complementary color is HSL(50, 77%, 48%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 77%, 48%) in CSS?
As HSL: color: hsl(230, 77%, 48%); — As HEX: color: #1C3CD9; — As RGB: color: rgb(28, 60, 217); — Tailwind CSS: bg-[hsl(230,77%,48%)] — CSS variable: --color-primary: hsl(230, 77%, 48%);