#204A9C#204A9C

#204A9C is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.142 H 262.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#204A9C
RGBrgb(32, 74, 156)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(79.5%, 52.6%, 0%, 38.8%)
CIE-LABlab(33.14, 16.43, -48.84)
CIE-LCHlch(33.14, 51.53, 288.59°)
OKLaboklab(42.93% -0.0199 -0.1407)
OKLCHoklch(42.93% 0.142 262)
XYZxyz(9.0430, 7.6039, 32.4371)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A9C #9C7220
analogous
#20889C #204A9C #34209C
triadic
#204A9C #9C204A #4A9C20
tetradic
#204A9C #9C2088 #9C7220 #209C34
square
#204A9C #9C2088 #9C7220 #209C34
split-complementary
#204A9C #9C3420 #889C20
monochromatic
#0B1A36 #163269 #204A9C #2A62CF #5986DD

Accessibility & contrast

On white

8.33
#204A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A9C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A9C#FFFFFF#000000##FFFFFF
##204A9C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204a9c;
/* rgb */ color: rgb(32, 74, 156);
/* oklch */ color: oklch(42.9% 0.142 262.0);
Tailwind
colors: {
  custom: {
    50: '#707bba',
    500: '#204a9c',
    950: '#000000',
  },
}
SCSS
$custom: #204a9c;
$custom-light: #707bba;
$custom-dark: #000000;
JSON
{
  "hex": "#204a9c",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 219.677,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.14206,
    "h": 262
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#204A9C
secondary
#C19D57
accent
#AF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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