#21527E#21527E

#21527E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.090 H 248.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#21527E
RGBrgb(33, 82, 126)
HSLhsl(208, 58%, 31%)
HSVhsv(208, 74%, 49%)
CMYKcmyk(73.8%, 34.9%, 0%, 50.6%)
CIE-LABlab(33.70, -0.62, -29.62)
CIE-LCHlch(33.70, 29.62, 268.79°)
OKLaboklab(42.75% -0.0328 -0.084)
OKLCHoklch(42.75% 0.09 248.6)
XYZxyz(7.4090, 7.8635, 20.8619)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21527E #7E4D21
analogous
#217E7B #21527E #21237E
triadic
#21527E #7E2152 #527E21
tetradic
#21527E #7B217E #7E4D21 #237E21
square
#21527E #7B217E #7E4D21 #237E21
split-complementary
#21527E #7E2123 #7E7B21
monochromatic
#08131D #14324E #21527E #2E72AE #4A90D0

Accessibility & contrast

On white

8.16
#21527E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#21527E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21527E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21527E#FFFFFF#000000##FFFFFF
##21527E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #21527e;
/* rgb */ color: rgb(33, 82, 126);
/* oklch */ color: oklch(42.7% 0.090 248.6);
Tailwind
colors: {
  custom: {
    50: '#6982a3',
    500: '#21527e',
    950: '#000000',
  },
}
SCSS
$custom: #21527e;
$custom-light: #6982a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21527e",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 208.387,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.09022,
    "h": 248.6
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#21527E
secondary
#B17B4A
accent
#9046E2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21527E

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

Preview Lab → · Contrast checker → · Palette generator →

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