#204C8D#204C8D

#204C8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.118 H 258.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#204C8D
RGBrgb(32, 76, 141)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 77%, 55%)
CMYKcmyk(77.3%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.70, 9.10, -40.44)
CIE-LCHlch(32.70, 41.45, 282.68°)
OKLaboklab(42.25% -0.0239 -0.1159)
OKLCHoklch(42.25% 0.118 258.3)
XYZxyz(7.9861, 7.3981, 26.2012)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8D #8D6120
analogous
#20838D #204C8D #2B208D
triadic
#204C8D #8D204C #4C8D20
tetradic
#204C8D #8D2083 #8D6120 #208D2B
square
#204C8D #8D2083 #8D6120 #208D2B
split-complementary
#204C8D #8D2B20 #838D20
monochromatic
#091629 #15315B #204C8D #2B67BF #5087D7

Accessibility & contrast

On white

8.47
#204C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#204C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C8D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8D#FFFFFF#000000##FFFFFF
##204C8D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#14488C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204c8d;
/* rgb */ color: rgb(32, 76, 141);
/* oklch */ color: oklch(42.3% 0.118 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7daf',
    500: '#204c8d',
    950: '#000000',
  },
}
SCSS
$custom: #204c8d;
$custom-light: #6c7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8d",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 215.78,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.11833,
    "h": 258.3
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#204C8D
secondary
#BA8F4E
accent
#A442E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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