#21518D#21518D

#21518D is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.112 H 255.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#21518D
RGBrgb(33, 81, 141)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(76.6%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.25, 5.89, -37.95)
CIE-LCHlch(34.25, 38.40, 278.83°)
OKLaboklab(43.47% -0.0278 -0.1085)
OKLCHoklch(43.47% 0.112 255.6)
XYZxyz(8.3756, 8.1303, 26.3220)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21518D #8D5D21
analogous
#21878D #21518D #27218D
triadic
#21518D #8D2151 #518D21
tetradic
#21518D #8D2187 #8D5D21 #218D27
square
#21518D #8D2187 #8D5D21 #218D27
split-complementary
#21518D #8D2721 #878D21
monochromatic
#0A182A #15355B #21518D #2D6DBF #528DD6

Accessibility & contrast

On white

8.00
#21518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#21518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21518D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21518D#FFFFFF#000000##FFFFFF
##21518D1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21518d;
/* rgb */ color: rgb(33, 81, 141);
/* oklch */ color: oklch(43.5% 0.112 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c81af',
    500: '#21518d',
    950: '#000000',
  },
}
SCSS
$custom: #21518d;
$custom-light: #6c81af;
$custom-dark: #000000;
JSON
{
  "hex": "#21518d",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 213.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.11198,
    "h": 255.6
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#21518D
secondary
#BA8B50
accent
#9D43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21518D

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

Preview Lab → · Contrast checker → · Palette generator →

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