#21528F#21528F

#21528F is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.114 H 255.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#21528F
RGBrgb(33, 82, 143)
HSLhsl(213, 63%, 35%)
HSVhsv(213, 77%, 56%)
CMYKcmyk(76.9%, 42.7%, 0%, 43.9%)
CIE-LABlab(34.68, 6.02, -38.48)
CIE-LCHlch(34.68, 38.95, 278.89°)
OKLaboklab(43.84% -0.0283 -0.11)
OKLCHoklch(43.84% 0.114 255.6)
XYZxyz(8.6006, 8.3401, 27.1378)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21528F #8F5E21
analogous
#21898F #21528F #27218F
triadic
#21528F #8F2152 #528F21
tetradic
#21528F #8F2189 #8F5E21 #218F27
square
#21528F #8F2189 #8F5E21 #218F27
split-complementary
#21528F #8F2721 #898F21
monochromatic
#0A192C #16355D #21528F #2C6FC1 #538ED7

Accessibility & contrast

On white

7.87
#21528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#21528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21528F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21528F#FFFFFF#000000##FFFFFF
##21528F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21528f;
/* rgb */ color: rgb(33, 82, 143);
/* oklch */ color: oklch(43.8% 0.114 255.6);
Tailwind
colors: {
  custom: {
    50: '#6d82b0',
    500: '#21528f',
    950: '#000000',
  },
}
SCSS
$custom: #21528f;
$custom-light: #6d82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21528f",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 213.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.1136,
    "h": 255.6
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#21528F
secondary
#BB8C51
accent
#9D42E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21528F

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

Preview Lab → · Contrast checker → · Palette generator →

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