#204A8D#204A8D

#204A8D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.121 H 259.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#204A8D
RGBrgb(32, 74, 141)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 77%, 55%)
CMYKcmyk(77.3%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.09, 10.45, -41.41)
CIE-LCHlch(32.09, 42.70, 284.16°)
OKLaboklab(41.79% -0.0221 -0.1188)
OKLCHoklch(41.79% 0.121 259.5)
XYZxyz(7.8504, 7.1268, 26.1560)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A8D #8D6320
analogous
#20818D #204A8D #2D208D
triadic
#204A8D #8D204A #4A8D20
tetradic
#204A8D #8D2081 #8D6320 #208D2D
square
#204A8D #8D2081 #8D6320 #208D2D
split-complementary
#204A8D #8D2D20 #818D20
monochromatic
#091629 #15305B #204A8D #2B64BF #5084D7

Accessibility & contrast

On white

8.66
#204A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204A8D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A8D#FFFFFF#000000##FFFFFF
##204A8D1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204a8d;
/* rgb */ color: rgb(32, 74, 141);
/* oklch */ color: oklch(41.8% 0.121 259.5);
Tailwind
colors: {
  custom: {
    50: '#6c7caf',
    500: '#204a8d',
    950: '#000000',
  },
}
SCSS
$custom: #204a8d;
$custom-light: #6c7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#204a8d",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 216.881,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.12082,
    "h": 259.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#204A8D
secondary
#BA914E
accent
#A742E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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