#21586F#21586F

#21586F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.5% C 0.068 H 229.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#21586F
RGBrgb(33, 88, 111)
HSLhsl(198, 54%, 28%)
HSVhsv(198, 70%, 44%)
CMYKcmyk(70.3%, 20.7%, 0%, 56.5%)
CIE-LABlab(34.90, -9.97, -18.43)
CIE-LCHlch(34.90, 20.96, 241.58°)
OKLaboklab(43.46% -0.0448 -0.0516)
OKLCHoklch(43.46% 0.068 229)
XYZxyz(6.9850, 8.4497, 16.2987)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21586F #6F3821
analogous
#216F5F #21586F #21316F
triadic
#21586F #6F2158 #586F21
tetradic
#21586F #5F216F #6F3821 #316F21
square
#21586F #5F216F #6F3821 #316F21
split-complementary
#21586F #6F2131 #6F5F21
monochromatic
#071318 #133340 #21586F #2F7D9E #43A0C7

Accessibility & contrast

On white

7.81
#21586F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#21586F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21586F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21586F#FFFFFF#000000##FFFFFF
##21586F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5770
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#005E60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21586f;
/* rgb */ color: rgb(33, 88, 111);
/* oklch */ color: oklch(43.5% 0.068 229.0);
Tailwind
colors: {
  custom: {
    50: '#678798',
    500: '#21586f',
    950: '#000000',
  },
}
SCSS
$custom: #21586f;
$custom-light: #678798;
$custom-dark: #000000;
JSON
{
  "hex": "#21586f",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 111
  },
  "hsl": {
    "h": 197.692,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.06832,
    "h": 229
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#21586F
secondary
#A36449
accent
#764ADE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0D
muted
#7A7C7E

Preview Lab

Preview with #21586F

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

Preview Lab → · Contrast checker → · Palette generator →

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