#21528D#21528D

#21528D is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.111 H 254.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#21528D
RGBrgb(33, 82, 141)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(76.6%, 41.8%, 0%, 44.7%)
CIE-LABlab(34.56, 5.23, -37.46)
CIE-LCHlch(34.56, 37.82, 277.95°)
OKLaboklab(43.7% -0.0288 -0.107)
OKLCHoklch(43.7% 0.111 254.9)
XYZxyz(8.4504, 8.2800, 26.3470)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21528D #8D5C21
analogous
#21888D #21528D #26218D
triadic
#21528D #8D2152 #528D21
tetradic
#21528D #8D2188 #8D5C21 #218D26
square
#21528D #8D2188 #8D5C21 #218D26
split-complementary
#21528D #8D2621 #888D21
monochromatic
#0A182A #15355B #21528D #2D6FBF #528ED6

Accessibility & contrast

On white

7.91
#21528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#21528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21528D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21528D#FFFFFF#000000##FFFFFF
##21528D1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21528d;
/* rgb */ color: rgb(33, 82, 141);
/* oklch */ color: oklch(43.7% 0.111 254.9);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#21528d',
    950: '#000000',
  },
}
SCSS
$custom: #21528d;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#21528d",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 212.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.11081,
    "h": 254.9
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#21528D
secondary
#BA8A50
accent
#9B43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21528D

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

Preview Lab → · Contrast checker → · Palette generator →

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