#204B8A#204B8A

#204B8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.115 H 258.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#204B8A
RGBrgb(32, 75, 138)
HSLhsl(216, 62%, 33%)
HSVhsv(216, 77%, 54%)
CMYKcmyk(76.8%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.20, 8.57, -39.40)
CIE-LCHlch(32.20, 40.32, 282.28°)
OKLaboklab(41.8% -0.0236 -0.1128)
OKLCHoklch(41.8% 0.115 258.2)
XYZxyz(7.6975, 7.1733, 25.0187)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B8A #8A5F20
analogous
#20808A #204B8A #2A208A
triadic
#204B8A #8A204B #4B8A20
tetradic
#204B8A #8A2080 #8A5F20 #208A2A
square
#204B8A #8A2080 #8A5F20 #208A2A
split-complementary
#204B8A #8A2A20 #808A20
monochromatic
#091527 #143058 #204B8A #2C66BC #4E85D6

Accessibility & contrast

On white

8.62
#204B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#204B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B8A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B8A#FFFFFF#000000##FFFFFF
##204B8A1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204b8a;
/* rgb */ color: rgb(32, 75, 138);
/* oklch */ color: oklch(41.8% 0.115 258.2);
Tailwind
colors: {
  custom: {
    50: '#6b7cac',
    500: '#204b8a',
    950: '#000000',
  },
}
SCSS
$custom: #204b8a;
$custom-light: #6b7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#204b8a",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 215.66,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.11529,
    "h": 258.2
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#204B8A
secondary
#B98D4D
accent
#A342E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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