dark
#1B2431
Every value on this page is computed at build time from the hex code above using ChromaWell's shared, unit-tested color-core library — the same conversion, contrast, and nearest-name math used across every color page on this site, so a value here matches the same color looked up anywhere else on ChromaWell.
The conversions block gives you the same color in seven common formats (hex, RGB, HSL, HSV, CMYK, Lab, and OKLCH) so you can copy whichever your codebase or design tool expects. The contrast block applies the WCAG 2.x relative-luminance formula against several common backgrounds and reports whether text in this color would pass AA or AAA at normal and large text sizes. Shades/tints step the lightness up and down at a fixed hue and saturation; harmonies rotate the hue around the color wheel to surface complementary, analogous, triadic, and split-complementary partners; and nearest named colors ranks the closest matches from our full 1,094-color dataset by CIE76 Delta-E distance in Lab space, a perceptual distance metric rather than a raw RGB difference.
Conversions
- HEX
- #1B2431
- RGB
- rgb(27, 36, 49)
- HSL
- hsl(215.5, 28.9%, 14.9%)
- HSV
- hsv(215.5, 44.9%, 19.2%)
- CMYK
- cmyk(44.9, 26.5, 0, 80.8)
- Lab
- lab(13.92, 0.15, -9.81)
- OKLCH
- oklch(0.2579 0.0278 257.5)
WCAG contrast
- On white: 15.63:1 — normal text AAA, large text AAA
- On black: 1.34:1 — normal text FAIL, large text FAIL
- On pure white: 15.63:1 — normal text AAA, large text AAA
- On pure black: 1.34:1 — normal text FAIL, large text FAIL
- On light gray (#F3F4F6): 14.21:1 — normal text AAA, large text AAA
- On dark slate (#1F2937): 1.06:1 — normal text FAIL, large text FAIL
Ratios computed from WCAG 2.x relative luminance; AA needs 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold), AAA needs 7:1 and 4.5:1 respectively.
Shades & tints
Lightness stepped ±15% and ±30% in HSL space at constant hue and saturation (215.5°, 28.9%) — a shade darkens toward black, a tint lightens toward white.
Color harmonies
Hue-wheel relationships computed at this color's exact hue (215.5°), holding saturation and lightness constant.
Complementary
#31281B
rgb(49, 40, 27)
Analogous −30°
#1B2F31
rgb(27, 47, 49)
Analogous +30°
#1D1B31
rgb(29, 27, 49)
Triadic 120°
#311B24
rgb(49, 27, 36)
Triadic 240°
#24311B
rgb(36, 49, 27)
Split-complementary −150°
#2F311B
rgb(47, 49, 27)
Split-complementary +150°
#311D1B
rgb(49, 29, 27)
Nearest named colors
- Black (ΔE 17.0)
- DarkSlateGray (ΔE 21.9)
- DarkSlateGrey (ΔE 21.9)
- DimGray (ΔE 32.0)
- DimGrey (ΔE 32.0)
Ranked by CIE76 Delta-E distance in Lab space — the lower the number, the closer the perceptual match to this exact color.
Perceptual profile
Hue 215.5° places this color in the cool range of the wheel. At 28.9% saturation it reads as muted, and at 14.9% lightness it sits very dark, near black. In OKLCH — the newer, perceptually uniform color space — this color's lightness is 0.2579, chroma 0.0278, hue 257.5°, which is a more accurate predictor of how "bright" this color will look next to others than HSL lightness alone.
Use in CSS
This is a cool hue at 28.9% saturation and 14.9% lightness. Drop it into a stylesheet as a custom property:
:root {
--color-1b2431: #1B2431;
}
.el {
color: var(--color-1b2431);
}Part of the open xkcd color survey named-color set — see methodology.