HSL(230, 26%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,26%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 26%, 19%) | color: hsl(230, 26%, 19%) | |
| HEX | #24283D | color: #24283D | |
| RGB | rgb(36, 40, 61) | color: rgb(36, 40, 61) | |
| CMYK | cmyk(41%, 34%, 0%, 76%) | — | |
| HSV | hsv(230, 41%, 24%) | — | |
| HWB | hwb(230 14% 76%) | color: hwb(230 14% 76%) | |
| OKLCH | oklch(0.2831 0.0391 275.35) | color: oklch(0.2831 0.0391 275.35) | |
| Lab | lab(16.65 4.49 -13.98) | color: lab(16.65 4.49 -13.98) | |
| LCH | lch(16.65 14.68 287.81) | color: lch(16.65 14.68 287.81) |
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)
#262638 — rgb(38, 38, 56)
Deuteranopia (Green-blind)
#262537 — rgb(38, 37, 55)
Tritanopia (Blue-blind)
#243433 — rgb(36, 52, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 26%, 19%);
text
color: hsl(230, 26%, 19%);
border
border: 2px solid hsl(230, 26%, 19%);
gradient light
background: linear-gradient(to right, hsl(230, 26%, 39%), hsl(230, 26%, 19%));
gradient dark
background: linear-gradient(to right, hsl(230, 26%, 19%), hsl(230, 26%, 0%))
hex
background-color: #24283D;
tailwind
bg-[hsl(230,26%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 26%, 19%, 0.4);
css variable
--color-primary: hsl(230, 26%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 26%, 19%)?
HEX: #24283D | RGB: rgb(36, 40, 61) | CMYK: 41%, 34%, 0%, 76% | HSV: 230°, 41%, 24%. Copy any format from the conversion table above.
What colors go well with #24283D?
The complementary color is HSL(50, 26%, 19%). 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, 26%, 19%) in CSS?
As HSL: color: hsl(230, 26%, 19%); — As HEX: color: #24283D; — As RGB: color: rgb(36, 40, 61); — Tailwind CSS: bg-[hsl(230,26%,19%)] — CSS variable: --color-primary: hsl(230, 26%, 19%);