#21557F#21557F

#21557F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.6% C 0.089 H 246.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#21557F
RGBrgb(33, 85, 127)
HSLhsl(207, 59%, 31%)
HSVhsv(207, 74%, 50%)
CMYKcmyk(74%, 33.1%, 0%, 50.2%)
CIE-LABlab(34.71, -2.16, -28.64)
CIE-LCHlch(34.71, 28.72, 265.69°)
OKLaboklab(43.56% -0.0357 -0.0812)
OKLCHoklch(43.56% 0.089 246.3)
XYZxyz(7.7050, 8.3518, 21.2805)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21557F #7F4B21
analogous
#217F7A #21557F #21267F
triadic
#21557F #7F2155 #557F21
tetradic
#21557F #7A217F #7F4B21 #267F21
square
#21557F #7A217F #7F4B21 #267F21
split-complementary
#21557F #7F2126 #7F7A21
monochromatic
#08141E #14344E #21557F #2E76B0 #4A94D0

Accessibility & contrast

On white

7.86
#21557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#21557F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21557F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21557F#FFFFFF#000000##FFFFFF
##21557F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425781
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21557f;
/* rgb */ color: rgb(33, 85, 127);
/* oklch */ color: oklch(43.6% 0.089 246.3);
Tailwind
colors: {
  custom: {
    50: '#6984a4',
    500: '#21557f',
    950: '#000000',
  },
}
SCSS
$custom: #21557f;
$custom-light: #6984a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21557f",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 206.809,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.08866,
    "h": 246.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#21557F
secondary
#B2784A
accent
#8C46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21557F

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

Preview Lab → · Contrast checker → · Palette generator →

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