HSL(233, 27%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,27%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 27%, 23%) | color: hsl(233, 27%, 23%) | |
| HEX | #2B2F4A | color: #2B2F4A | |
| RGB | rgb(43, 47, 74) | color: rgb(43, 47, 74) | |
| CMYK | cmyk(42%, 36%, 0%, 71%) | — | |
| HSV | hsv(232, 42%, 29%) | — | |
| HWB | hwb(232 17% 71%) | color: hwb(232 17% 71%) | |
| OKLCH | oklch(0.3144 0.0486 276.78) | color: oklch(0.3144 0.0486 276.78) | |
| Lab | lab(20.21 6.2 -17.28) | color: lab(20.21 6.2 -17.28) | |
| LCH | lch(20.21 18.36 289.74) | color: lch(20.21 18.36 289.74) |
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)
#2D2D43 — rgb(45, 45, 67)
Deuteranopia (Green-blind)
#2D2C42 — rgb(45, 44, 66)
Tritanopia (Blue-blind)
#2B3E3D — rgb(43, 62, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 27%, 23%);
text
color: hsl(233, 27%, 23%);
border
border: 2px solid hsl(233, 27%, 23%);
gradient light
background: linear-gradient(to right, hsl(233, 27%, 43%), hsl(233, 27%, 23%));
gradient dark
background: linear-gradient(to right, hsl(233, 27%, 23%), hsl(233, 27%, 3%))
hex
background-color: #2B2F4A;
tailwind
bg-[hsl(233,27%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 27%, 23%, 0.4);
css variable
--color-primary: hsl(233, 27%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 27%, 23%)?
HEX: #2B2F4A | RGB: rgb(43, 47, 74) | CMYK: 42%, 36%, 0%, 71% | HSV: 232°, 42%, 29%. Copy any format from the conversion table above.
What colors go well with #2B2F4A?
The complementary color is HSL(53, 27%, 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, 27%, 23%) in CSS?
As HSL: color: hsl(233, 27%, 23%); — As HEX: color: #2B2F4A; — As RGB: color: rgb(43, 47, 74); — Tailwind CSS: bg-[hsl(233,27%,23%)] — CSS variable: --color-primary: hsl(233, 27%, 23%);