HSL(233, 35%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,35%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 35%, 23%) | color: hsl(233, 35%, 23%) | |
| HEX | #262B4F | color: #262B4F | |
| RGB | rgb(38, 43, 79) | color: rgb(38, 43, 79) | |
| CMYK | cmyk(52%, 46%, 0%, 69%) | — | |
| HSV | hsv(233, 52%, 31%) | — | |
| HWB | hwb(233 15% 69%) | color: hwb(233 15% 69%) | |
| OKLCH | oklch(0.3036 0.065 275.85) | color: oklch(0.3036 0.065 275.85) | |
| Lab | lab(18.82 9.23 -22.87) | color: lab(18.82 9.23 -22.87) | |
| LCH | lch(18.82 24.66 291.98) | color: lch(18.82 24.66 291.98) |
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)
#282846 — rgb(40, 40, 70)
Deuteranopia (Green-blind)
#282844 — rgb(40, 40, 68)
Tritanopia (Blue-blind)
#263F3E — rgb(38, 63, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 35%, 23%);
text
color: hsl(233, 35%, 23%);
border
border: 2px solid hsl(233, 35%, 23%);
gradient light
background: linear-gradient(to right, hsl(233, 35%, 43%), hsl(233, 35%, 23%));
gradient dark
background: linear-gradient(to right, hsl(233, 35%, 23%), hsl(233, 35%, 3%))
hex
background-color: #262B4F;
tailwind
bg-[hsl(233,35%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 35%, 23%, 0.4);
css variable
--color-primary: hsl(233, 35%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 35%, 23%)?
HEX: #262B4F | RGB: rgb(38, 43, 79) | CMYK: 52%, 46%, 0%, 69% | HSV: 233°, 52%, 31%. Copy any format from the conversion table above.
What colors go well with #262B4F?
The complementary color is HSL(53, 35%, 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, 35%, 23%) in CSS?
As HSL: color: hsl(233, 35%, 23%); — As HEX: color: #262B4F; — As RGB: color: rgb(38, 43, 79); — Tailwind CSS: bg-[hsl(233,35%,23%)] — CSS variable: --color-primary: hsl(233, 35%, 23%);