#21518A#21518A

#21518A is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.3% C 0.108 H 254.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#21518A
RGBrgb(33, 81, 138)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 54%)
CMYKcmyk(76.1%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.07, 4.71, -36.40)
CIE-LCHlch(34.07, 36.71, 277.37°)
OKLaboklab(43.27% -0.0286 -0.1039)
OKLCHoklch(43.27% 0.108 254.6)
XYZxyz(8.1554, 8.0423, 25.1623)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21518A #8A5A21
analogous
#21858A #21518A #25218A
triadic
#21518A #8A2151 #518A21
tetradic
#21518A #8A2185 #8A5A21 #218A25
square
#21518A #8A2185 #8A5A21 #218A25
split-complementary
#21518A #8A2521 #858A21
monochromatic
#091727 #153459 #21518A #2D6EBB #508DD5

Accessibility & contrast

On white

8.05
#21518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#21518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21518A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21518A#FFFFFF#000000##FFFFFF
##21518A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21518a;
/* rgb */ color: rgb(33, 81, 138);
/* oklch */ color: oklch(43.3% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#6b81ac',
    500: '#21518a',
    950: '#000000',
  },
}
SCSS
$custom: #21518a;
$custom-light: #6b81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21518a",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 212.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.10778,
    "h": 254.6
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#21518A
secondary
#B9884E
accent
#9B43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21518A

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

Preview Lab → · Contrast checker → · Palette generator →

#21518A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva