#18213B#18213B

#18213B is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.051 H 268.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#18213B
RGBrgb(24, 33, 59)
HSLhsl(225, 42%, 16%)
HSVhsv(225, 59%, 23%)
CMYKcmyk(59.3%, 44.1%, 0%, 76.9%)
CIE-LABlab(13.22, 5.08, -18.03)
CIE-LCHlch(13.22, 18.73, 285.73°)
OKLaboklab(25.36% -0.0016 -0.051)
OKLCHoklch(25.36% 0.051 268.2)
XYZxyz(1.7097, 1.5976, 4.3551)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18213B #3B3218
analogous
#18333B #18213B #21183B
triadic
#18213B #3B1821 #213B18
tetradic
#18213B #3B1833 #3B3218 #183B21
square
#18213B #3B1833 #3B3218 #183B21
split-complementary
#18213B #3B2118 #333B18
monochromatic
#090C16 #090C16 #18213B #2A3967 #3B5292

Accessibility & contrast

On white

15.91
#18213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#18213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18213B
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18213B#FFFFFF#000000##FFFFFF
##18213B1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243C
Deuteranopia (green-blind)
#13213A
Tritanopia (blue-blind)
#08272B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18213b;
/* rgb */ color: rgb(24, 33, 59);
/* oklch */ color: oklch(25.4% 0.051 268.2);
Tailwind
colors: {
  custom: {
    50: '#585b71',
    500: '#18213b',
    950: '#000000',
  },
}
SCSS
$custom: #18213b;
$custom-light: #585b71;
$custom-dark: #000000;
JSON
{
  "hex": "#18213b",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 224.571,
    "s": 42.169,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25363,
    "c": 0.051,
    "h": 268.2
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#18213B
secondary
#71643E
accent
#B256D2
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #18213B

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

Preview Lab → · Contrast checker → · Palette generator →

#18213B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva