#18213C#18213C

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

Color values

HEX#18213C
RGBrgb(24, 33, 60)
HSLhsl(225, 43%, 16%)
HSVhsv(225, 60%, 24%)
CMYKcmyk(60%, 45%, 0%, 76.5%)
CIE-LABlab(13.28, 5.47, -18.63)
CIE-LCHlch(13.28, 19.42, 286.37°)
OKLaboklab(25.43% -0.0013 -0.0527)
OKLCHoklch(25.43% 0.053 268.6)
XYZxyz(1.7359, 1.6080, 4.4930)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18213C #3C3318
analogous
#18333C #18213C #21183C
triadic
#18213C #3C1821 #213C18
tetradic
#18213C #3C1833 #3C3318 #183C21
square
#18213C #3C1833 #3C3318 #183C21
split-complementary
#18213C #3C2118 #333C18
monochromatic
#090C16 #090C16 #18213C #293968 #3B5193

Accessibility & contrast

On white

15.89
#18213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18213C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18213C#FFFFFF#000000##FFFFFF
##18213C1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#12213B
Tritanopia (blue-blind)
#07272B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18213c;
/* rgb */ color: rgb(24, 33, 60);
/* oklch */ color: oklch(25.4% 0.053 268.6);
Tailwind
colors: {
  custom: {
    50: '#585b72',
    500: '#18213c',
    950: '#000000',
  },
}
SCSS
$custom: #18213c;
$custom-light: #585b72;
$custom-dark: #000000;
JSON
{
  "hex": "#18213c",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 225,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25433,
    "c": 0.05275,
    "h": 268.6
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#18213C
secondary
#72653E
accent
#B355D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #18213C

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

Preview Lab → · Contrast checker → · Palette generator →

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