#204D8B#204D8B

#204D8B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.114 H 257.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#204D8B
RGBrgb(32, 77, 139)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 55%)
CMYKcmyk(77%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.87, 7.63, -38.93)
CIE-LCHlch(32.87, 39.67, 281.08°)
OKLaboklab(42.34% -0.0252 -0.1114)
OKLCHoklch(42.34% 0.114 257.2)
XYZxyz(7.9080, 7.4780, 25.4477)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D8B #8B5E20
analogous
#20828B #204D8B #28208B
triadic
#204D8B #8B204D #4D8B20
tetradic
#204D8B #8B2082 #8B5E20 #208B28
square
#204D8B #8B2082 #8B5E20 #208B28
split-complementary
#204D8B #8B2820 #828B20
monochromatic
#091628 #153159 #204D8B #2B69BD #4F88D6

Accessibility & contrast

On white

8.41
#204D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#204D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D8B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D8B#FFFFFF#000000##FFFFFF
##204D8B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204d8b;
/* rgb */ color: rgb(32, 77, 139);
/* oklch */ color: oklch(42.3% 0.114 257.2);
Tailwind
colors: {
  custom: {
    50: '#6b7ead',
    500: '#204d8b',
    950: '#000000',
  },
}
SCSS
$custom: #204d8b;
$custom-light: #6b7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#204d8b",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 214.766,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.11427,
    "h": 257.2
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#204D8B
secondary
#BA8C4D
accent
#A142E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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