HSL(233, 34%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,34%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 34%, 23%) | color: hsl(233, 34%, 23%) | |
| HEX | #272B4F | color: #272B4F | |
| RGB | rgb(39, 43, 79) | color: rgb(39, 43, 79) | |
| CMYK | cmyk(51%, 46%, 0%, 69%) | — | |
| HSV | hsv(234, 51%, 31%) | — | |
| HWB | hwb(234 15% 69%) | color: hwb(234 15% 69%) | |
| OKLCH | oklch(0.3045 0.0648 277.03) | color: oklch(0.3045 0.0648 277.03) | |
| Lab | lab(18.9 9.51 -22.74) | color: lab(18.9 9.51 -22.74) | |
| LCH | lch(18.9 24.65 292.69) | color: lch(18.9 24.65 292.69) |
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)
#292946 — rgb(41, 41, 70)
Deuteranopia (Green-blind)
#292844 — rgb(41, 40, 68)
Tritanopia (Blue-blind)
#273F3E — rgb(39, 63, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 34%, 23%);
text
color: hsl(233, 34%, 23%);
border
border: 2px solid hsl(233, 34%, 23%);
gradient light
background: linear-gradient(to right, hsl(233, 34%, 43%), hsl(233, 34%, 23%));
gradient dark
background: linear-gradient(to right, hsl(233, 34%, 23%), hsl(233, 34%, 3%))
hex
background-color: #272B4F;
tailwind
bg-[hsl(233,34%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 34%, 23%, 0.4);
css variable
--color-primary: hsl(233, 34%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 34%, 23%)?
HEX: #272B4F | RGB: rgb(39, 43, 79) | CMYK: 51%, 46%, 0%, 69% | HSV: 234°, 51%, 31%. Copy any format from the conversion table above.
What colors go well with #272B4F?
The complementary color is HSL(53, 34%, 23%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 34%, 23%) in CSS?
As HSL: color: hsl(233, 34%, 23%); — As HEX: color: #272B4F; — As RGB: color: rgb(39, 43, 79); — Tailwind CSS: bg-[hsl(233,34%,23%)] — CSS variable: --color-primary: hsl(233, 34%, 23%);