#21506E#21506E

#21506E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.3% C 0.072 H 239.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#21506E
RGBrgb(33, 80, 110)
HSLhsl(203, 54%, 28%)
HSVhsv(203, 70%, 43%)
CMYKcmyk(70%, 27.3%, 0%, 56.9%)
CIE-LABlab(32.23, -5.42, -21.96)
CIE-LCHlch(32.23, 22.62, 256.13°)
OKLaboklab(41.32% -0.036 -0.0618)
OKLCHoklch(41.32% 0.072 239.8)
XYZxyz(6.3093, 7.1858, 15.8033)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21506E #6E3F21
analogous
#216E65 #21506E #21296E
triadic
#21506E #6E2150 #506E21
tetradic
#21506E #65216E #6E3F21 #296E21
square
#21506E #65216E #6E3F21 #296E21
split-complementary
#21506E #6E2129 #6E6521
monochromatic
#071118 #132E3F #21506E #2F729D #4393C7

Accessibility & contrast

On white

8.62
#21506E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#21506E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21506E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21506E#FFFFFF#000000##FFFFFF
##21506E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#00585A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21506e;
/* rgb */ color: rgb(33, 80, 110);
/* oklch */ color: oklch(41.3% 0.072 239.8);
Tailwind
colors: {
  custom: {
    50: '#668197',
    500: '#21506e',
    950: '#000000',
  },
}
SCSS
$custom: #21506e;
$custom-light: #668197;
$custom-dark: #000000;
JSON
{
  "hex": "#21506e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 110
  },
  "hsl": {
    "h": 203.377,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.07153,
    "h": 239.8
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#21506E
secondary
#A26C49
accent
#844BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21506E

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

Preview Lab → · Contrast checker → · Palette generator →

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