#21528C#21528C

#21528C is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.109 H 254.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#21528C
RGBrgb(33, 82, 140)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(76.4%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.50, 4.84, -36.94)
CIE-LCHlch(34.50, 37.26, 277.46°)
OKLaboklab(43.64% -0.029 -0.1055)
OKLCHoklch(43.64% 0.109 254.6)
XYZxyz(8.3764, 8.2504, 25.9569)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21528C #8C5B21
analogous
#21888C #21528C #25218C
triadic
#21528C #8C2152 #528C21
tetradic
#21528C #8C2188 #8C5B21 #218C25
square
#21528C #8C2188 #8C5B21 #218C25
split-complementary
#21528C #8C2521 #888C21
monochromatic
#0A1829 #15355A #21528C #2D6FBE #518ED6

Accessibility & contrast

On white

7.92
#21528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#21528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21528C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21528C#FFFFFF#000000##FFFFFF
##21528C1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21528c;
/* rgb */ color: rgb(33, 82, 140);
/* oklch */ color: oklch(43.6% 0.109 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c82ae',
    500: '#21528c',
    950: '#000000',
  },
}
SCSS
$custom: #21528c;
$custom-light: #6c82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21528c",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 212.523,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.10941,
    "h": 254.6
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21528C

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

Preview Lab → · Contrast checker → · Palette generator →

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