#21518F#21518F

#21518F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.115 H 256.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#21518F
RGBrgb(33, 81, 143)
HSLhsl(214, 63%, 35%)
HSVhsv(214, 77%, 56%)
CMYKcmyk(76.9%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.38, 6.68, -38.97)
CIE-LCHlch(34.38, 39.54, 279.73°)
OKLaboklab(43.6% -0.0274 -0.1115)
OKLCHoklch(43.6% 0.115 256.2)
XYZxyz(8.5257, 8.1904, 27.1128)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21518F #8F5F21
analogous
#21888F #21518F #28218F
triadic
#21518F #8F2151 #518F21
tetradic
#21518F #8F2188 #8F5F21 #218F28
square
#21518F #8F2188 #8F5F21 #218F28
split-complementary
#21518F #8F2821 #888F21
monochromatic
#0A192C #16355D #21518F #2C6DC1 #538DD7

Accessibility & contrast

On white

7.96
#21518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#21518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21518F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21518F#FFFFFF#000000##FFFFFF
##21518F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21518f;
/* rgb */ color: rgb(33, 81, 143);
/* oklch */ color: oklch(43.6% 0.115 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d81b0',
    500: '#21518f',
    950: '#000000',
  },
}
SCSS
$custom: #21518f;
$custom-light: #6d81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21518f",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 213.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.11478,
    "h": 256.2
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#21518F
secondary
#BB8D51
accent
#9E42E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21518F

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

Preview Lab → · Contrast checker → · Palette generator →

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