#204D8E#204D8E

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

Color values

HEX#204D8E
RGBrgb(32, 77, 142)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 56%)
CMYKcmyk(77.5%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.06, 8.82, -40.46)
CIE-LCHlch(33.06, 41.41, 282.30°)
OKLaboklab(42.56% -0.0246 -0.1159)
OKLCHoklch(42.56% 0.119 258)
XYZxyz(8.1302, 7.5669, 26.6180)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D8E #8E6120
analogous
#20848E #204D8E #2A208E
triadic
#204D8E #8E204D #4D8E20
tetradic
#204D8E #8E2084 #8E6120 #208E2A
square
#204D8E #8E2084 #8E6120 #208E2A
split-complementary
#204D8E #8E2A20 #848E20
monochromatic
#09172A #15325C #204D8E #2B68C0 #5188D8

Accessibility & contrast

On white

8.35
#204D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#204D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D8E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D8E#FFFFFF#000000##FFFFFF
##204D8E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204d8e;
/* rgb */ color: rgb(32, 77, 142);
/* oklch */ color: oklch(42.6% 0.119 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7eaf',
    500: '#204d8e',
    950: '#000000',
  },
}
SCSS
$custom: #204d8e;
$custom-light: #6c7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#204d8e",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 215.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.11853,
    "h": 258
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#204D8E
secondary
#BB8F4F
accent
#A342E6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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