#204A8B#204A8B

#204A8B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.118 H 259.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#204A8B
RGBrgb(32, 74, 139)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 77%, 55%)
CMYKcmyk(77%, 46.8%, 0%, 45.5%)
CIE-LABlab(31.96, 9.65, -40.39)
CIE-LCHlch(31.96, 41.53, 283.43°)
OKLaboklab(41.64% -0.0225 -0.1158)
OKLCHoklch(41.64% 0.118 259)
XYZxyz(7.7029, 7.0678, 25.3794)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A8B #8B6120
analogous
#207F8B #204A8B #2C208B
triadic
#204A8B #8B204A #4A8B20
tetradic
#204A8B #8B207F #8B6120 #208B2C
square
#204A8B #8B207F #8B6120 #208B2C
split-complementary
#204A8B #8B2C20 #7F8B20
monochromatic
#091528 #153059 #204A8B #2B64BD #4F84D6

Accessibility & contrast

On white

8.70
#204A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#204A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A8B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A8B#FFFFFF#000000##FFFFFF
##204A8B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#10478A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204a8b;
/* rgb */ color: rgb(32, 74, 139);
/* oklch */ color: oklch(41.6% 0.118 259.0);
Tailwind
colors: {
  custom: {
    50: '#6b7cad',
    500: '#204a8b',
    950: '#000000',
  },
}
SCSS
$custom: #204a8b;
$custom-light: #6b7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#204a8b",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 216.449,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.11796,
    "h": 259
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#204A8B
secondary
#BA8F4D
accent
#A542E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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