#21518C#21518C

#21518C is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.111 H 255.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#21518C
RGBrgb(33, 81, 140)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(76.4%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.19, 5.50, -37.43)
CIE-LCHlch(34.19, 37.84, 278.36°)
OKLaboklab(43.4% -0.0281 -0.1069)
OKLCHoklch(43.4% 0.111 255.3)
XYZxyz(8.3015, 8.1007, 25.9319)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21518C #8C5C21
analogous
#21878C #21518C #27218C
triadic
#21518C #8C2151 #518C21
tetradic
#21518C #8C2187 #8C5C21 #218C27
square
#21518C #8C2187 #8C5C21 #218C27
split-complementary
#21518C #8C2721 #878C21
monochromatic
#0A1829 #15345A #21518C #2D6EBE #518DD6

Accessibility & contrast

On white

8.01
#21518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#21518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21518C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21518C#FFFFFF#000000##FFFFFF
##21518C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21518c;
/* rgb */ color: rgb(33, 81, 140);
/* oklch */ color: oklch(43.4% 0.111 255.3);
Tailwind
colors: {
  custom: {
    50: '#6c81ae',
    500: '#21518c',
    950: '#000000',
  },
}
SCSS
$custom: #21518c;
$custom-light: #6c81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21518c",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 213.084,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.11057,
    "h": 255.3
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#21518C
secondary
#B98A4F
accent
#9C43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21518C

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

Preview Lab → · Contrast checker → · Palette generator →

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