#204C9A#204C9A

#204C9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.137 H 260.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#204C9A
RGBrgb(32, 76, 154)
HSLhsl(218, 66%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(79.2%, 50.6%, 0%, 39.6%)
CIE-LABlab(33.58, 14.28, -46.93)
CIE-LCHlch(33.58, 49.05, 286.93°)
OKLaboklab(43.21% -0.0217 -0.135)
OKLCHoklch(43.21% 0.137 260.9)
XYZxyz(9.0107, 7.8080, 31.5978)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C9A #9A6E20
analogous
#20899A #204C9A #31209A
triadic
#204C9A #9A204C #4C9A20
tetradic
#204C9A #9A2089 #9A6E20 #209A31
square
#204C9A #9A2089 #9A6E20 #209A31
split-complementary
#204C9A #9A3120 #899A20
monochromatic
#0B1A35 #153367 #204C9A #2B65CD #5888DC

Accessibility & contrast

On white

8.20
#204C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#204C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C9A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C9A#FFFFFF#000000##FFFFFF
##204C9A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204c9a;
/* rgb */ color: rgb(32, 76, 154);
/* oklch */ color: oklch(43.2% 0.137 260.9);
Tailwind
colors: {
  custom: {
    50: '#6f7db8',
    500: '#204c9a',
    950: '#000000',
  },
}
SCSS
$custom: #204c9a;
$custom-light: #6f7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#204c9a",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 154
  },
  "hsl": {
    "h": 218.361,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.13673,
    "h": 260.9
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#204C9A
secondary
#C09A56
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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