#204B8E#204B8E

#204B8E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.121 H 259.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#204B8E
RGBrgb(32, 75, 142)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 77%, 56%)
CMYKcmyk(77.5%, 47.2%, 0%, 44.3%)
CIE-LABlab(32.46, 10.17, -41.43)
CIE-LCHlch(32.46, 42.66, 283.79°)
OKLaboklab(42.09% -0.0228 -0.1188)
OKLCHoklch(42.09% 0.121 259.1)
XYZxyz(7.9924, 7.2913, 26.5721)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B8E #8E6320
analogous
#20828E #204B8E #2C208E
triadic
#204B8E #8E204B #4B8E20
tetradic
#204B8E #8E2082 #8E6320 #208E2C
square
#204B8E #8E2082 #8E6320 #208E2C
split-complementary
#204B8E #8E2C20 #828E20
monochromatic
#09162A #15315C #204B8E #2B65C0 #5185D8

Accessibility & contrast

On white

8.54
#204B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#204B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B8E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B8E#FFFFFF#000000##FFFFFF
##204B8E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204b8e;
/* rgb */ color: rgb(32, 75, 142);
/* oklch */ color: oklch(42.1% 0.121 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7caf',
    500: '#204b8e',
    950: '#000000',
  },
}
SCSS
$custom: #204b8e;
$custom-light: #6c7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#204b8e",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 216.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.121,
    "h": 259.1
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#204B8E
secondary
#BB914F
accent
#A642E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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