#21528A#21528A

#21528A is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.107 H 253.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#21528A
RGBrgb(33, 82, 138)
HSLhsl(212, 61%, 34%)
HSVhsv(212, 76%, 54%)
CMYKcmyk(76.1%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.38, 4.05, -35.91)
CIE-LCHlch(34.38, 36.14, 276.44°)
OKLaboklab(43.51% -0.0295 -0.1025)
OKLCHoklch(43.51% 0.107 253.9)
XYZxyz(8.2302, 8.1920, 25.1873)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21528A #8A5921
analogous
#21868A #21528A #24218A
triadic
#21528A #8A2152 #528A21
tetradic
#21528A #8A2186 #8A5921 #218A24
square
#21528A #8A2186 #8A5921 #218A24
split-complementary
#21528A #8A2421 #868A21
monochromatic
#091727 #153559 #21528A #2D6FBB #508ED5

Accessibility & contrast

On white

7.96
#21528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#21528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21528A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21528A#FFFFFF#000000##FFFFFF
##21528A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21528a;
/* rgb */ color: rgb(33, 82, 138);
/* oklch */ color: oklch(43.5% 0.107 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b82ac',
    500: '#21528a',
    950: '#000000',
  },
}
SCSS
$custom: #21528a;
$custom-light: #6b82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21528a",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 212,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.10664,
    "h": 253.9
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#21528A
secondary
#B9874E
accent
#9943E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21528A

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

Preview Lab → · Contrast checker → · Palette generator →

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