#204C7E#204C7E

#204C7E is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.097 H 253.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#204C7E
RGBrgb(32, 76, 126)
HSLhsl(212, 59%, 31%)
HSVhsv(212, 75%, 49%)
CMYKcmyk(74.6%, 39.7%, 0%, 50.6%)
CIE-LABlab(31.77, 3.15, -32.68)
CIE-LCHlch(31.77, 32.83, 275.50°)
OKLaboklab(41.23% -0.0273 -0.0931)
OKLCHoklch(41.23% 0.097 253.6)
XYZxyz(6.9446, 6.9816, 20.7162)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C7E #7E5220
analogous
#207B7E #204C7E #23207E
triadic
#204C7E #7E204C #4C7E20
tetradic
#204C7E #7E207B #7E5220 #207E23
square
#204C7E #7E207B #7E5220 #207E23
split-complementary
#204C7E #7E2320 #7B7E20
monochromatic
#07111C #142F4D #204C7E #2C69AF #4888D0

Accessibility & contrast

On white

8.76
#204C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204C7E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C7E#FFFFFF#000000##FFFFFF
##204C7E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204c7e;
/* rgb */ color: rgb(32, 76, 126);
/* oklch */ color: oklch(41.2% 0.097 253.6);
Tailwind
colors: {
  custom: {
    50: '#697da4',
    500: '#204c7e',
    950: '#000000',
  },
}
SCSS
$custom: #204c7e;
$custom-light: #697da4;
$custom-dark: #000000;
JSON
{
  "hex": "#204c7e",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 211.915,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.09703,
    "h": 253.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#204C7E
secondary
#B18049
accent
#9945E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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