#204B8D#204B8D

#204B8D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.120 H 258.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#204B8D
RGBrgb(32, 75, 141)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 77%, 55%)
CMYKcmyk(77.3%, 46.8%, 0%, 44.7%)
CIE-LABlab(32.39, 9.77, -40.92)
CIE-LCHlch(32.39, 42.07, 283.43°)
OKLaboklab(42.02% -0.023 -0.1173)
OKLCHoklch(42.02% 0.12 258.9)
XYZxyz(7.9177, 7.2614, 26.1784)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B8D #8D6220
analogous
#20828D #204B8D #2B208D
triadic
#204B8D #8D204B #4B8D20
tetradic
#204B8D #8D2082 #8D6220 #208D2B
square
#204B8D #8D2082 #8D6220 #208D2B
split-complementary
#204B8D #8D2B20 #828D20
monochromatic
#091629 #15305B #204B8D #2B66BF #5085D7

Accessibility & contrast

On white

8.56
#204B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#204B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B8D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B8D#FFFFFF#000000##FFFFFF
##204B8D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28528F
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204b8d;
/* rgb */ color: rgb(32, 75, 141);
/* oklch */ color: oklch(42.0% 0.120 258.9);
Tailwind
colors: {
  custom: {
    50: '#6c7caf',
    500: '#204b8d',
    950: '#000000',
  },
}
SCSS
$custom: #204b8d;
$custom-light: #6c7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#204b8d",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 216.33,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.11957,
    "h": 258.9
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#204B8D
secondary
#BA904E
accent
#A542E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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