HSL(200, 23%, 18%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(200,23%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(200, 23%, 18%) | color: hsl(200, 23%, 18%) | |
| HEX | #233138 | color: #233138 | |
| RGB | rgb(35, 49, 56) | color: rgb(35, 49, 56) | |
| CMYK | cmyk(38%, 13%, 0%, 78%) | — | |
| HSV | hsv(200, 38%, 22%) | — | |
| HWB | hwb(200 14% 78%) | color: hwb(200 14% 78%) | |
| OKLCH | oklch(0.3036 0.0226 230.04) | color: oklch(0.3036 0.0226 230.04) | |
| Lab | lab(19.39 -3.74 -6.33) | color: lab(19.39 -3.74 -6.33) | |
| LCH | lch(19.39 7.35 239.42) | color: lch(19.39 7.35 239.42) |
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)
#292936 — rgb(41, 41, 54)
Deuteranopia (Green-blind)
#282736 — rgb(40, 39, 54)
Tritanopia (Blue-blind)
#243535 — rgb(36, 53, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(200, 23%, 18%);
text
color: hsl(200, 23%, 18%);
border
border: 2px solid hsl(200, 23%, 18%);
gradient light
background: linear-gradient(to right, hsl(200, 23%, 38%), hsl(200, 23%, 18%));
gradient dark
background: linear-gradient(to right, hsl(200, 23%, 18%), hsl(200, 23%, 0%))
hex
background-color: #233138;
tailwind
bg-[hsl(200,23%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(200, 23%, 18%, 0.4);
css variable
--color-primary: hsl(200, 23%, 18%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(200, 23%, 18%)?
HEX: #233138 | RGB: rgb(35, 49, 56) | CMYK: 38%, 13%, 0%, 78% | HSV: 200°, 38%, 22%. Copy any format from the conversion table above.
What colors go well with #233138?
The complementary color is HSL(20, 23%, 18%). For a triadic harmony, use hues 200°, 320°, and 80°. For analogous combinations, try hues 170° and 230°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(200, 23%, 18%) in CSS?
As HSL: color: hsl(200, 23%, 18%); — As HEX: color: #233138; — As RGB: color: rgb(35, 49, 56); — Tailwind CSS: bg-[hsl(200,23%,18%)] — CSS variable: --color-primary: hsl(200, 23%, 18%);