HSL(253, 25%, 18%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,25%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 25%, 18%) | color: hsl(253, 25%, 18%) | |
| HEX | #272239 | color: #272239 | |
| RGB | rgb(39, 34, 57) | color: rgb(39, 34, 57) | |
| CMYK | cmyk(32%, 40%, 0%, 78%) | — | |
| HSV | hsv(253, 40%, 22%) | — | |
| HWB | hwb(253 13% 78%) | color: hwb(253 13% 78%) | |
| OKLCH | oklch(0.2688 0.0425 293.31) | color: oklch(0.2688 0.0425 293.31) | |
| Lab | lab(14.79 8.61 -14.04) | color: lab(14.79 8.61 -14.04) | |
| LCH | lch(14.79 16.47 301.52) | color: lch(14.79 16.47 301.52) |
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)
#252533 — rgb(37, 37, 51)
Deuteranopia (Green-blind)
#252632 — rgb(37, 38, 50)
Tritanopia (Blue-blind)
#272F2E — rgb(39, 47, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 25%, 18%);
text
color: hsl(253, 25%, 18%);
border
border: 2px solid hsl(253, 25%, 18%);
gradient light
background: linear-gradient(to right, hsl(253, 25%, 38%), hsl(253, 25%, 18%));
gradient dark
background: linear-gradient(to right, hsl(253, 25%, 18%), hsl(253, 25%, 0%))
hex
background-color: #272239;
tailwind
bg-[hsl(253,25%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 25%, 18%, 0.4);
css variable
--color-primary: hsl(253, 25%, 18%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 25%, 18%)?
HEX: #272239 | RGB: rgb(39, 34, 57) | CMYK: 32%, 40%, 0%, 78% | HSV: 253°, 40%, 22%. Copy any format from the conversion table above.
What colors go well with #272239?
The complementary color is HSL(73, 25%, 18%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 25%, 18%) in CSS?
As HSL: color: hsl(253, 25%, 18%); — As HEX: color: #272239; — As RGB: color: rgb(39, 34, 57); — Tailwind CSS: bg-[hsl(253,25%,18%)] — CSS variable: --color-primary: hsl(253, 25%, 18%);