HSL(245, 26%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,26%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 26%, 19%) | color: hsl(245, 26%, 19%) | |
| HEX | #26243D | color: #26243D | |
| RGB | rgb(38, 36, 61) | color: rgb(38, 36, 61) | |
| CMYK | cmyk(38%, 41%, 0%, 76%) | — | |
| HSV | hsv(245, 41%, 24%) | — | |
| HWB | hwb(245 14% 76%) | color: hwb(245 14% 76%) | |
| OKLCH | oklch(0.275 0.0457 286.64) | color: oklch(0.275 0.0457 286.64) | |
| Lab | lab(15.54 8.08 -15.69) | color: lab(15.54 8.08 -15.69) | |
| LCH | lch(15.54 17.65 297.25) | color: lch(15.54 17.65 297.25) |
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)
#252537 — rgb(37, 37, 55)
Deuteranopia (Green-blind)
#252536 — rgb(37, 37, 54)
Tritanopia (Blue-blind)
#263231 — rgb(38, 50, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 26%, 19%);
text
color: hsl(245, 26%, 19%);
border
border: 2px solid hsl(245, 26%, 19%);
gradient light
background: linear-gradient(to right, hsl(245, 26%, 39%), hsl(245, 26%, 19%));
gradient dark
background: linear-gradient(to right, hsl(245, 26%, 19%), hsl(245, 26%, 0%))
hex
background-color: #26243D;
tailwind
bg-[hsl(245,26%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 26%, 19%, 0.4);
css variable
--color-primary: hsl(245, 26%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 26%, 19%)?
HEX: #26243D | RGB: rgb(38, 36, 61) | CMYK: 38%, 41%, 0%, 76% | HSV: 245°, 41%, 24%. Copy any format from the conversion table above.
What colors go well with #26243D?
The complementary color is HSL(65, 26%, 19%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 26%, 19%) in CSS?
As HSL: color: hsl(245, 26%, 19%); — As HEX: color: #26243D; — As RGB: color: rgb(38, 36, 61); — Tailwind CSS: bg-[hsl(245,26%,19%)] — CSS variable: --color-primary: hsl(245, 26%, 19%);