#21527F#21527F

#21527F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.092 H 249.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#21527F
RGBrgb(33, 82, 127)
HSLhsl(209, 59%, 31%)
HSVhsv(209, 74%, 50%)
CMYKcmyk(74%, 35.4%, 0%, 50.2%)
CIE-LABlab(33.75, -0.24, -30.15)
CIE-LCHlch(33.75, 30.15, 269.55°)
OKLaboklab(42.81% -0.0325 -0.0856)
OKLCHoklch(42.81% 0.092 249.2)
XYZxyz(7.4738, 7.8894, 21.2035)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21527F #7F4E21
analogous
#217F7D #21527F #21237F
triadic
#21527F #7F2152 #527F21
tetradic
#21527F #7D217F #7F4E21 #237F21
square
#21527F #7D217F #7F4E21 #237F21
split-complementary
#21527F #7F2123 #7F7D21
monochromatic
#08131E #14334E #21527F #2E71B0 #4A90D0

Accessibility & contrast

On white

8.15
#21527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#21527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21527F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21527F#FFFFFF#000000##FFFFFF
##21527F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #21527f;
/* rgb */ color: rgb(33, 82, 127);
/* oklch */ color: oklch(42.8% 0.092 249.2);
Tailwind
colors: {
  custom: {
    50: '#6982a4',
    500: '#21527f',
    950: '#000000',
  },
}
SCSS
$custom: #21527f;
$custom-light: #6982a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21527f",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 208.723,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.09157,
    "h": 249.2
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#21527F
secondary
#B27C4A
accent
#9146E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21527F

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

Preview Lab → · Contrast checker → · Palette generator →

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