#21526E#21526E

#21526E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.8% C 0.070 H 236.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#21526E
RGBrgb(33, 82, 110)
HSLhsl(202, 54%, 28%)
HSVhsv(202, 70%, 43%)
CMYKcmyk(70%, 25.5%, 0%, 56.9%)
CIE-LABlab(32.88, -6.67, -20.94)
CIE-LCHlch(32.88, 21.97, 252.32°)
OKLaboklab(41.84% -0.0383 -0.0588)
OKLCHoklch(41.84% 0.07 236.9)
XYZxyz(6.4579, 7.4830, 15.8529)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21526E #6E3D21
analogous
#216E63 #21526E #212B6E
triadic
#21526E #6E2152 #526E21
tetradic
#21526E #63216E #6E3D21 #2B6E21
square
#21526E #63216E #6E3D21 #2B6E21
split-complementary
#21526E #6E212B #6E6321
monochromatic
#071218 #132F3F #21526E #2F759D #4397C7

Accessibility & contrast

On white

8.41
#21526E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#21526E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21526E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21526E#FFFFFF#000000##FFFFFF
##21526E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45526F
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21526e;
/* rgb */ color: rgb(33, 82, 110);
/* oklch */ color: oklch(41.8% 0.070 236.9);
Tailwind
colors: {
  custom: {
    50: '#668297',
    500: '#21526e',
    950: '#000000',
  },
}
SCSS
$custom: #21526e;
$custom-light: #668297;
$custom-dark: #000000;
JSON
{
  "hex": "#21526e",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 110
  },
  "hsl": {
    "h": 201.818,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.0702,
    "h": 236.9
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#21526E
secondary
#A26949
accent
#804BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21526E

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

Preview Lab → · Contrast checker → · Palette generator →

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