#204D8A#204D8A

#204D8A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.3% C 0.113 H 257.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#204D8A
RGBrgb(32, 77, 138)
HSLhsl(215, 62%, 33%)
HSVhsv(215, 77%, 54%)
CMYKcmyk(76.8%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.81, 7.23, -38.42)
CIE-LCHlch(32.81, 39.10, 280.66°)
OKLaboklab(42.27% -0.0254 -0.1099)
OKLCHoklch(42.27% 0.113 257)
XYZxyz(7.8353, 7.4489, 25.0647)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D8A #8A5D20
analogous
#20828A #204D8A #28208A
triadic
#204D8A #8A204D #4D8A20
tetradic
#204D8A #8A2082 #8A5D20 #208A28
square
#204D8A #8A2082 #8A5D20 #208A28
split-complementary
#204D8A #8A2820 #828A20
monochromatic
#091627 #143158 #204D8A #2C69BC #4E88D6

Accessibility & contrast

On white

8.43
#204D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204D8A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D8A#FFFFFF#000000##FFFFFF
##204D8A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204d8a;
/* rgb */ color: rgb(32, 77, 138);
/* oklch */ color: oklch(42.3% 0.113 257.0);
Tailwind
colors: {
  custom: {
    50: '#6b7eac',
    500: '#204d8a',
    950: '#000000',
  },
}
SCSS
$custom: #204d8a;
$custom-light: #6b7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#204d8a",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 214.528,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.11285,
    "h": 257
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#204D8A
secondary
#B98B4D
accent
#A042E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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