#21526F#21526F

#21526F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.071 H 237.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#21526F
RGBrgb(33, 82, 111)
HSLhsl(202, 54%, 28%)
HSVhsv(202, 70%, 44%)
CMYKcmyk(70.3%, 26.1%, 0%, 56.5%)
CIE-LABlab(32.93, -6.30, -21.49)
CIE-LCHlch(32.93, 22.39, 253.65°)
OKLaboklab(41.89% -0.0379 -0.0604)
OKLCHoklch(41.89% 0.071 237.9)
XYZxyz(6.5126, 7.5049, 16.1412)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21526F #6F3E21
analogous
#216F65 #21526F #212B6F
triadic
#21526F #6F2152 #526F21
tetradic
#21526F #65216F #6F3E21 #2B6F21
square
#21526F #65216F #6F3E21 #2B6F21
split-complementary
#21526F #6F212B #6F6521
monochromatic
#071118 #132F40 #21526F #2F759E #4396C7

Accessibility & contrast

On white

8.40
#21526F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21526F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21526F#FFFFFF#000000##FFFFFF
##21526F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445270
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21526f;
/* rgb */ color: rgb(33, 82, 111);
/* oklch */ color: oklch(41.9% 0.071 237.9);
Tailwind
colors: {
  custom: {
    50: '#668298',
    500: '#21526f',
    950: '#000000',
  },
}
SCSS
$custom: #21526f;
$custom-light: #668298;
$custom-dark: #000000;
JSON
{
  "hex": "#21526f",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 111
  },
  "hsl": {
    "h": 202.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.07134,
    "h": 237.9
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#21526F
secondary
#A36A49
accent
#814ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21526F

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

Preview Lab → · Contrast checker → · Palette generator →

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