#204A8A#204A8A

#204A8A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.117 H 258.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#204A8A
RGBrgb(32, 74, 138)
HSLhsl(216, 62%, 33%)
HSVhsv(216, 77%, 54%)
CMYKcmyk(76.8%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.90, 9.25, -39.88)
CIE-LCHlch(31.90, 40.94, 283.06°)
OKLaboklab(41.57% -0.0227 -0.1143)
OKLCHoklch(41.57% 0.117 258.8)
XYZxyz(7.6302, 7.0388, 24.9963)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A8A #8A6020
analogous
#207F8A #204A8A #2B208A
triadic
#204A8A #8A204A #4A8A20
tetradic
#204A8A #8A207F #8A6020 #208A2B
square
#204A8A #8A207F #8A6020 #208A2B
split-complementary
#204A8A #8A2B20 #7F8A20
monochromatic
#091527 #142F58 #204A8A #2C65BC #4E84D6

Accessibility & contrast

On white

8.72
#204A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204A8A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A8A#FFFFFF#000000##FFFFFF
##204A8A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204a8a;
/* rgb */ color: rgb(32, 74, 138);
/* oklch */ color: oklch(41.6% 0.117 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7cac',
    500: '#204a8a',
    950: '#000000',
  },
}
SCSS
$custom: #204a8a;
$custom-light: #6b7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#204a8a",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 216.226,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.11653,
    "h": 258.8
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#204A8A
secondary
#B98E4D
accent
#A542E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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