HSL(246, 19%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(246,19%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 19%, 26%) | color: hsl(246, 19%, 26%) | |
| HEX | #38364F | color: #38364F | |
| RGB | rgb(56, 54, 79) | color: rgb(56, 54, 79) | |
| CMYK | cmyk(29%, 32%, 0%, 69%) | — | |
| HSV | hsv(245, 32%, 31%) | — | |
| HWB | hwb(245 21% 69%) | color: hwb(245 21% 69%) | |
| OKLCH | oklch(0.346 0.0433 287.57) | color: oklch(0.346 0.0433 287.57) | |
| Lab | lab(23.81 7.38 -14.93) | color: lab(23.81 7.38 -14.93) | |
| LCH | lch(23.81 16.65 296.3) | color: lch(23.81 16.65 296.3) |
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)
#373749 — rgb(55, 55, 73)
Deuteranopia (Green-blind)
#373748 — rgb(55, 55, 72)
Tritanopia (Blue-blind)
#384443 — rgb(56, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 19%, 26%);
text
color: hsl(246, 19%, 26%);
border
border: 2px solid hsl(246, 19%, 26%);
gradient light
background: linear-gradient(to right, hsl(246, 19%, 46%), hsl(246, 19%, 26%));
gradient dark
background: linear-gradient(to right, hsl(246, 19%, 26%), hsl(246, 19%, 6%))
hex
background-color: #38364F;
tailwind
bg-[hsl(246,19%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 19%, 26%, 0.4);
css variable
--color-primary: hsl(246, 19%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 19%, 26%)?
HEX: #38364F | RGB: rgb(56, 54, 79) | CMYK: 29%, 32%, 0%, 69% | HSV: 245°, 32%, 31%. Copy any format from the conversion table above.
What colors go well with #38364F?
The complementary color is HSL(66, 19%, 26%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 19%, 26%) in CSS?
As HSL: color: hsl(246, 19%, 26%); — As HEX: color: #38364F; — As RGB: color: rgb(56, 54, 79); — Tailwind CSS: bg-[hsl(246,19%,26%)] — CSS variable: --color-primary: hsl(246, 19%, 26%);