#21527D#21527D

#21527D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.089 H 248.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#21527D
RGBrgb(33, 82, 125)
HSLhsl(208, 58%, 31%)
HSVhsv(208, 74%, 49%)
CMYKcmyk(73.6%, 34.4%, 0%, 51%)
CIE-LABlab(33.64, -1.01, -29.08)
CIE-LCHlch(33.64, 29.10, 268.01°)
OKLaboklab(42.69% -0.0331 -0.0825)
OKLCHoklch(42.69% 0.089 248.1)
XYZxyz(7.3448, 7.8378, 20.5238)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21527D #7D4C21
analogous
#217D7A #21527D #21247D
triadic
#21527D #7D2152 #527D21
tetradic
#21527D #7A217D #7D4C21 #247D21
square
#21527D #7A217D #7D4C21 #247D21
split-complementary
#21527D #7D2124 #7D7A21
monochromatic
#07121C #14324D #21527D #2E72AD #4991CF

Accessibility & contrast

On white

8.18
#21527D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21527D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21527D#FFFFFF#000000##FFFFFF
##21527D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #21527d;
/* rgb */ color: rgb(33, 82, 125);
/* oklch */ color: oklch(42.7% 0.089 248.1);
Tailwind
colors: {
  custom: {
    50: '#6982a3',
    500: '#21527d',
    950: '#000000',
  },
}
SCSS
$custom: #21527d;
$custom-light: #6982a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21527d",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 125
  },
  "hsl": {
    "h": 208.043,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.08889,
    "h": 248.1
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#21527D
secondary
#B07A4A
accent
#8F46E1
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21527D

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

Preview Lab → · Contrast checker → · Palette generator →

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