#21506B#21506B

#21506B is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.068 H 236.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#21506B
RGBrgb(33, 80, 107)
HSLhsl(202, 53%, 27%)
HSVhsv(202, 69%, 42%)
CMYKcmyk(69.2%, 25.2%, 0%, 58%)
CIE-LABlab(32.08, -6.53, -20.30)
CIE-LCHlch(32.08, 21.32, 252.16°)
OKLaboklab(41.16% -0.0371 -0.057)
OKLCHoklch(41.16% 0.068 236.9)
XYZxyz(6.1487, 7.1216, 14.9576)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21506B #6B3C21
analogous
#216B61 #21506B #212B6B
triadic
#21506B #6B2150 #506B21
tetradic
#21506B #61216B #6B3C21 #2B6B21
square
#21506B #61216B #6B3C21 #2B6B21
split-complementary
#21506B #6B212B #6B6121
monochromatic
#071117 #132D3C #21506B #2F739A #4295C5

Accessibility & contrast

On white

8.66
#21506B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#21506B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21506B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21506B#FFFFFF#000000##FFFFFF
##21506B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506C
Deuteranopia (green-blind)
#39486B
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21506b;
/* rgb */ color: rgb(33, 80, 107);
/* oklch */ color: oklch(41.2% 0.068 236.9);
Tailwind
colors: {
  custom: {
    50: '#658195',
    500: '#21506b',
    950: '#000000',
  },
}
SCSS
$custom: #21506b;
$custom-light: #658195;
$custom-dark: #000000;
JSON
{
  "hex": "#21506b",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 107
  },
  "hsl": {
    "h": 201.892,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.06803,
    "h": 236.9
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#21506B
secondary
#9F6849
accent
#804CDC
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21506B

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

Preview Lab → · Contrast checker → · Palette generator →

#21506B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva