#21567F#21567F

#21567F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.8% C 0.088 H 245.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#21567F
RGBrgb(33, 86, 127)
HSLhsl(206, 59%, 31%)
HSVhsv(206, 74%, 50%)
CMYKcmyk(74%, 32.3%, 0%, 50.2%)
CIE-LABlab(35.02, -2.80, -28.14)
CIE-LCHlch(35.02, 28.28, 264.33°)
OKLaboklab(43.81% -0.0367 -0.0797)
OKLCHoklch(43.81% 0.088 245.2)
XYZxyz(7.7843, 8.5104, 21.3070)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21567F #7F4A21
analogous
#217F79 #21567F #21277F
triadic
#21567F #7F2156 #567F21
tetradic
#21567F #79217F #7F4A21 #277F21
square
#21567F #79217F #7F4A21 #277F21
split-complementary
#21567F #7F2127 #7F7921
monochromatic
#08141E #14354E #21567F #2E77B0 #4A96D0

Accessibility & contrast

On white

7.77
#21567F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#21567F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21567F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21567F#FFFFFF#000000##FFFFFF
##21567F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#006065
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21567f;
/* rgb */ color: rgb(33, 86, 127);
/* oklch */ color: oklch(43.8% 0.088 245.2);
Tailwind
colors: {
  custom: {
    50: '#6985a4',
    500: '#21567f',
    950: '#000000',
  },
}
SCSS
$custom: #21567f;
$custom-light: #6985a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21567f",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 127
  },
  "hsl": {
    "h": 206.17,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.08774,
    "h": 245.2
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#21567F
secondary
#B2774A
accent
#8A46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21567F

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

Preview Lab → · Contrast checker → · Palette generator →

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