HSL(206, 57%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(206,57%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(206, 57%, 24%) | color: hsl(206, 57%, 24%) | |
| HEX | #1A4260 | color: #1A4260 | |
| RGB | rgb(26, 66, 96) | color: rgb(26, 66, 96) | |
| CMYK | cmyk(73%, 31%, 0%, 62%) | — | |
| HSV | hsv(206, 73%, 38%) | — | |
| HWB | hwb(206 10% 62%) | color: hwb(206 10% 62%) | |
| OKLCH | oklch(0.3658 0.0686 244.04) | color: oklch(0.3658 0.0686 244.04) | |
| Lab | lab(26.62 -3.03 -21.83) | color: lab(26.62 -3.03 -21.83) | |
| LCH | lch(26.62 22.04 262.1) | color: lch(26.62 22.04 262.1) |
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)
#2B2C59 — rgb(43, 44, 89)
Deuteranopia (Green-blind)
#292657 — rgb(41, 38, 87)
Tritanopia (Blue-blind)
#1C5352 — rgb(28, 83, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(206, 57%, 24%);
text
color: hsl(206, 57%, 24%);
border
border: 2px solid hsl(206, 57%, 24%);
gradient light
background: linear-gradient(to right, hsl(206, 57%, 44%), hsl(206, 57%, 24%));
gradient dark
background: linear-gradient(to right, hsl(206, 57%, 24%), hsl(206, 57%, 4%))
hex
background-color: #1A4260;
tailwind
bg-[hsl(206,57%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(206, 57%, 24%, 0.4);
css variable
--color-primary: hsl(206, 57%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(206, 57%, 24%)?
HEX: #1A4260 | RGB: rgb(26, 66, 96) | CMYK: 73%, 31%, 0%, 62% | HSV: 206°, 73%, 38%. Copy any format from the conversion table above.
What colors go well with #1A4260?
The complementary color is HSL(26, 57%, 24%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(206, 57%, 24%) in CSS?
As HSL: color: hsl(206, 57%, 24%); — As HEX: color: #1A4260; — As RGB: color: rgb(26, 66, 96); — Tailwind CSS: bg-[hsl(206,57%,24%)] — CSS variable: --color-primary: hsl(206, 57%, 24%);