#21597F#21597F

#21597F is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.085 H 242.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#21597F
RGBrgb(33, 89, 127)
HSLhsl(204, 59%, 31%)
HSVhsv(204, 74%, 50%)
CMYKcmyk(74%, 29.9%, 0%, 50.2%)
CIE-LABlab(35.98, -4.68, -26.64)
CIE-LCHlch(35.98, 27.04, 260.03°)
OKLaboklab(44.57% -0.0399 -0.0753)
OKLCHoklch(44.57% 0.085 242.1)
XYZxyz(8.0289, 8.9995, 21.3885)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21597F #7F4721
analogous
#217F76 #21597F #212A7F
triadic
#21597F #7F2159 #597F21
tetradic
#21597F #76217F #7F4721 #2A7F21
square
#21597F #76217F #7F4721 #2A7F21
split-complementary
#21597F #7F212A #7F7621
monochromatic
#08151E #14374E #21597F #2E7BB0 #4A9AD0

Accessibility & contrast

On white

7.50
#21597F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#21597F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21597F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21597F#FFFFFF#000000##FFFFFF
##21597F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21597f;
/* rgb */ color: rgb(33, 89, 127);
/* oklch */ color: oklch(44.6% 0.085 242.1);
Tailwind
colors: {
  custom: {
    50: '#6987a4',
    500: '#21597f',
    950: '#000000',
  },
}
SCSS
$custom: #21597f;
$custom-light: #6987a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21597f",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 127
  },
  "hsl": {
    "h": 204.255,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.08519,
    "h": 242.1
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#21597F
secondary
#B2744A
accent
#8546E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21597F

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

Preview Lab → · Contrast checker → · Palette generator →

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