#20242E#20242E

#20242E is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.1% C 0.020 H 267.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#20242E
RGBrgb(32, 36, 46)
HSLhsl(223, 18%, 15%)
HSVhsv(223, 30%, 18%)
CMYKcmyk(30.4%, 21.7%, 0%, 82%)
CIE-LABlab(14.21, 1.05, -7.19)
CIE-LCHlch(14.21, 7.27, 278.33°)
OKLaboklab(26.08% -0.0007 -0.0197)
OKLCHoklch(26.08% 0.02 267.9)
XYZxyz(1.7196, 1.7660, 2.8345)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20242E #2E2A20
analogous
#202B2E #20242E #23202E
triadic
#20242E #2E2024 #242E20
tetradic
#20242E #2E202B #2E2A20 #202E23
square
#20242E #2E202B #2E2A20 #202E23
split-complementary
#20242E #2E2320 #2B2E20
monochromatic
#0D0E12 #0D0E12 #20242E #394052 #525C76

Accessibility & contrast

On white

15.52
#20242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#20242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20242E
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20242E#FFFFFF#000000##FFFFFF
##20242E1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#20232E
Tritanopia (blue-blind)
#1C2627
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20242e;
/* rgb */ color: rgb(32, 36, 46);
/* oklch */ color: oklch(26.1% 0.020 267.9);
Tailwind
colors: {
  custom: {
    50: '#5b5e66',
    500: '#20242e',
    950: '#000000',
  },
}
SCSS
$custom: #20242e;
$custom-light: #5b5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#20242e",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 222.857,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26076,
    "c": 0.0197,
    "h": 267.9
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#20242E
secondary
#60594A
accent
#A46DBB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #20242E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20242E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva