#204C7F#204C7F

#204C7F is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.098 H 254.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#204C7F
RGBrgb(32, 76, 127)
HSLhsl(212, 60%, 31%)
HSVhsv(212, 75%, 50%)
CMYKcmyk(74.8%, 40.2%, 0%, 50.2%)
CIE-LABlab(31.82, 3.54, -33.20)
CIE-LCHlch(31.82, 33.39, 276.09°)
OKLaboklab(41.29% -0.0271 -0.0946)
OKLCHoklch(41.29% 0.098 254)
XYZxyz(7.0095, 7.0075, 21.0577)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C7F #7F5320
analogous
#207B7F #204C7F #24207F
triadic
#204C7F #7F204C #4C7F20
tetradic
#204C7F #7F207B #7F5320 #207F24
square
#204C7F #7F207B #7F5320 #207F24
split-complementary
#204C7F #7F2420 #7B7F20
monochromatic
#07111D #142F4E #204C7F #2C69B0 #4888D1

Accessibility & contrast

On white

8.74
#204C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#204C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C7F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C7F#FFFFFF#000000##FFFFFF
##204C7F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#26477E
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204c7f;
/* rgb */ color: rgb(32, 76, 127);
/* oklch */ color: oklch(41.3% 0.098 254.0);
Tailwind
colors: {
  custom: {
    50: '#697da4',
    500: '#204c7f',
    950: '#000000',
  },
}
SCSS
$custom: #204c7f;
$custom-light: #697da4;
$custom-dark: #000000;
JSON
{
  "hex": "#204c7f",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 212.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.09844,
    "h": 254
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#204C7F
secondary
#B28149
accent
#9A45E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204C7F

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

Preview Lab → · Contrast checker → · Palette generator →

#204C7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva