#204A7F#204A7F

#204A7F is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.101 H 255.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#204A7F
RGBrgb(32, 74, 127)
HSLhsl(213, 60%, 31%)
HSVhsv(213, 75%, 50%)
CMYKcmyk(74.8%, 41.7%, 0%, 50.2%)
CIE-LABlab(31.20, 4.87, -34.20)
CIE-LCHlch(31.20, 34.54, 278.11°)
OKLaboklab(40.8% -0.0251 -0.0976)
OKLCHoklch(40.8% 0.101 255.6)
XYZxyz(6.8738, 6.7362, 21.0125)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A7F #7F5520
analogous
#20797F #204A7F #26207F
triadic
#204A7F #7F204A #4A7F20
tetradic
#204A7F #7F2079 #7F5520 #207F26
square
#204A7F #7F2079 #7F5520 #207F26
split-complementary
#204A7F #7F2620 #797F20
monochromatic
#07111D #142E4E #204A7F #2C66B0 #4885D1

Accessibility & contrast

On white

8.95
#204A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#204A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A7F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A7F#FFFFFF#000000##FFFFFF
##204A7F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#22457E
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204a7f;
/* rgb */ color: rgb(32, 74, 127);
/* oklch */ color: oklch(40.8% 0.101 255.6);
Tailwind
colors: {
  custom: {
    50: '#697ca4',
    500: '#204a7f',
    950: '#000000',
  },
}
SCSS
$custom: #204a7f;
$custom-light: #697ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#204a7f",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 213.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40804,
    "c": 0.10077,
    "h": 255.6
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#204A7F
secondary
#B28349
accent
#9D45E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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