#21538C#21538C

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

Color values

HEX#21538C
RGBrgb(33, 83, 140)
HSLhsl(212, 62%, 34%)
HSVhsv(212, 76%, 55%)
CMYKcmyk(76.4%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.81, 4.18, -36.45)
CIE-LCHlch(34.81, 36.69, 276.54°)
OKLaboklab(43.88% -0.03 -0.104)
OKLCHoklch(43.88% 0.108 253.9)
XYZxyz(8.4523, 8.4023, 25.9822)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21538C #8C5A21
analogous
#21898C #21538C #25218C
triadic
#21538C #8C2153 #538C21
tetradic
#21538C #8C2189 #8C5A21 #218C25
square
#21538C #8C2189 #8C5A21 #218C25
split-complementary
#21538C #8C2521 #898C21
monochromatic
#0A1829 #15365A #21538C #2D70BE #518FD6

Accessibility & contrast

On white

7.83
#21538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#21538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21538C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21538C#FFFFFF#000000##FFFFFF
##21538C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21538c;
/* rgb */ color: rgb(33, 83, 140);
/* oklch */ color: oklch(43.9% 0.108 253.9);
Tailwind
colors: {
  custom: {
    50: '#6c82ae',
    500: '#21538c',
    950: '#000000',
  },
}
SCSS
$custom: #21538c;
$custom-light: #6c82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21538c",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 211.963,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.10828,
    "h": 253.9
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#21538C
secondary
#B9884F
accent
#9943E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21538C

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

Preview Lab → · Contrast checker → · Palette generator →

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