#21538D#21538D

#21538D is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.110 H 254.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#21538D
RGBrgb(33, 83, 141)
HSLhsl(212, 62%, 34%)
HSVhsv(212, 77%, 55%)
CMYKcmyk(76.6%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.87, 4.57, -36.97)
CIE-LCHlch(34.87, 37.25, 277.05°)
OKLaboklab(43.94% -0.0297 -0.1055)
OKLCHoklch(43.94% 0.11 254.3)
XYZxyz(8.5264, 8.4320, 26.3723)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21538D #8D5B21
analogous
#21898D #21538D #25218D
triadic
#21538D #8D2153 #538D21
tetradic
#21538D #8D2189 #8D5B21 #218D25
square
#21538D #8D2189 #8D5B21 #218D25
split-complementary
#21538D #8D2521 #898D21
monochromatic
#0A192A #15365B #21538D #2D70BF #528FD6

Accessibility & contrast

On white

7.82
#21538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#21538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21538D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21538D#FFFFFF#000000##FFFFFF
##21538D1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21538d;
/* rgb */ color: rgb(33, 83, 141);
/* oklch */ color: oklch(43.9% 0.110 254.3);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#21538d',
    950: '#000000',
  },
}
SCSS
$custom: #21538d;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#21538d",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 212.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.10966,
    "h": 254.3
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#21538D
secondary
#BA8950
accent
#9A43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21538D

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

Preview Lab → · Contrast checker → · Palette generator →

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