#204D8F#204D8F

#204D8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.120 H 258.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#204D8F
RGBrgb(32, 77, 143)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 78%, 56%)
CMYKcmyk(77.6%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.13, 9.22, -40.97)
CIE-LCHlch(33.13, 41.99, 282.68°)
OKLaboklab(42.63% -0.0244 -0.1174)
OKLCHoklch(42.63% 0.12 258.3)
XYZxyz(8.2057, 7.5971, 27.0152)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D8F #8F6220
analogous
#20858F #204D8F #2B208F
triadic
#204D8F #8F204D #4D8F20
tetradic
#204D8F #8F2085 #8F6220 #208F2B
square
#204D8F #8F2085 #8F6220 #208F2B
split-complementary
#204D8F #8F2B20 #858F20
monochromatic
#0A172B #15325D #204D8F #2B68C1 #5188D8

Accessibility & contrast

On white

8.33
#204D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D8F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D8F#FFFFFF#000000##FFFFFF
##204D8F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#13498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204d8f;
/* rgb */ color: rgb(32, 77, 143);
/* oklch */ color: oklch(42.6% 0.120 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7eb0',
    500: '#204d8f',
    950: '#000000',
  },
}
SCSS
$custom: #204d8f;
$custom-light: #6c7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#204d8f",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 215.676,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.11994,
    "h": 258.3
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#204D8F
secondary
#BB904F
accent
#A441E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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