#21516F#21516F

#21516F is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.072 H 239.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#21516F
RGBrgb(33, 81, 111)
HSLhsl(203, 54%, 28%)
HSVhsv(203, 70%, 44%)
CMYKcmyk(70.3%, 27%, 0%, 56.5%)
CIE-LABlab(32.60, -5.68, -22.00)
CIE-LCHlch(32.60, 22.72, 255.53°)
OKLaboklab(41.63% -0.0368 -0.0619)
OKLCHoklch(41.63% 0.072 239.3)
XYZxyz(6.4378, 7.3552, 16.1163)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21516F #6F3F21
analogous
#216F66 #21516F #212A6F
triadic
#21516F #6F2151 #516F21
tetradic
#21516F #66216F #6F3F21 #2A6F21
square
#21516F #66216F #6F3F21 #2A6F21
split-complementary
#21516F #6F212A #6F6621
monochromatic
#071118 #132F40 #21516F #2F739E #4394C7

Accessibility & contrast

On white

8.50
#21516F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#21516F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21516F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21516F#FFFFFF#000000##FFFFFF
##21516F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435170
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21516f;
/* rgb */ color: rgb(33, 81, 111);
/* oklch */ color: oklch(41.6% 0.072 239.3);
Tailwind
colors: {
  custom: {
    50: '#668198',
    500: '#21516f',
    950: '#000000',
  },
}
SCSS
$custom: #21516f;
$custom-light: #668198;
$custom-dark: #000000;
JSON
{
  "hex": "#21516f",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 203.077,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.07202,
    "h": 239.3
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#21516F
secondary
#A36C49
accent
#834ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21516F

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

Preview Lab → · Contrast checker → · Palette generator →

#21516F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva