#204D7E#204D7E

#204D7E is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.5% C 0.096 H 252.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#204D7E
RGBrgb(32, 77, 126)
HSLhsl(211, 59%, 31%)
HSVhsv(211, 75%, 49%)
CMYKcmyk(74.6%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.08, 2.48, -32.18)
CIE-LCHlch(32.08, 32.27, 274.41°)
OKLaboklab(41.47% -0.0284 -0.0916)
OKLCHoklch(41.47% 0.096 252.8)
XYZxyz(7.0140, 7.1204, 20.7393)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D7E #7E5120
analogous
#207C7E #204D7E #22207E
triadic
#204D7E #7E204D #4D7E20
tetradic
#204D7E #7E207C #7E5120 #207E22
square
#204D7E #7E207C #7E5120 #207E22
split-complementary
#204D7E #7E2220 #7C7E20
monochromatic
#07111C #142F4D #204D7E #2C6BAF #4889D0

Accessibility & contrast

On white

8.66
#204D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#204D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D7E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D7E#FFFFFF#000000##FFFFFF
##204D7E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204d7e;
/* rgb */ color: rgb(32, 77, 126);
/* oklch */ color: oklch(41.5% 0.096 252.8);
Tailwind
colors: {
  custom: {
    50: '#697ea3',
    500: '#204d7e',
    950: '#000000',
  },
}
SCSS
$custom: #204d7e;
$custom-light: #697ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#204d7e",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 211.277,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.09591,
    "h": 252.8
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#204D7E
secondary
#B17F49
accent
#9745E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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