#204F7F#204F7F

#204F7F is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.095 H 251.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#204F7F
RGBrgb(32, 79, 127)
HSLhsl(210, 60%, 31%)
HSVhsv(210, 75%, 50%)
CMYKcmyk(74.8%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.77, 1.56, -31.71)
CIE-LCHlch(32.77, 31.74, 272.82°)
OKLaboklab(42.03% -0.0301 -0.0902)
OKLCHoklch(42.03% 0.095 251.5)
XYZxyz(7.2210, 7.4305, 21.1282)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F7F #7F5020
analogous
#207E7F #204F7F #21207F
triadic
#204F7F #7F204F #4F7F20
tetradic
#204F7F #7F207E #7F5020 #207F21
square
#204F7F #7F207E #7F5020 #207F21
split-complementary
#204F7F #7F2120 #7E7F20
monochromatic
#07121D #14314E #204F7F #2C6DB0 #488CD1

Accessibility & contrast

On white

8.45
#204F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#204F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F7F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F7F#FFFFFF#000000##FFFFFF
##204F7F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204f7f;
/* rgb */ color: rgb(32, 79, 127);
/* oklch */ color: oklch(42.0% 0.095 251.5);
Tailwind
colors: {
  custom: {
    50: '#6980a4',
    500: '#204f7f',
    950: '#000000',
  },
}
SCSS
$custom: #204f7f;
$custom-light: #6980a4;
$custom-dark: #000000;
JSON
{
  "hex": "#204f7f",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 210.316,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.0951,
    "h": 251.5
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#204F7F
secondary
#B27E49
accent
#9545E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #204F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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