#21528E#21528E

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

Color values

HEX#21528E
RGBrgb(33, 82, 142)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 77%, 56%)
CMYKcmyk(76.8%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.62, 5.63, -37.97)
CIE-LCHlch(34.62, 38.39, 278.43°)
OKLaboklab(43.77% -0.0286 -0.1085)
OKLCHoklch(43.77% 0.112 255.3)
XYZxyz(8.5252, 8.3099, 26.7406)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21528E #8E5D21
analogous
#21898E #21528E #27218E
triadic
#21528E #8E2152 #528E21
tetradic
#21528E #8E2189 #8E5D21 #218E27
square
#21528E #8E2189 #8E5D21 #218E27
split-complementary
#21528E #8E2721 #898E21
monochromatic
#0A192B #15355C #21528E #2D6FC0 #528ED7

Accessibility & contrast

On white

7.89
#21528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21528E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21528E#FFFFFF#000000##FFFFFF
##21528E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21528e;
/* rgb */ color: rgb(33, 82, 142);
/* oklch */ color: oklch(43.8% 0.112 255.3);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#21528e',
    950: '#000000',
  },
}
SCSS
$custom: #21528e;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#21528e",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 213.028,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43771,
    "c": 0.11221,
    "h": 255.3
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#21528E
secondary
#BA8B50
accent
#9C42E5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21528E

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

Preview Lab → · Contrast checker → · Palette generator →

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