#204A9F#204A9F

#204A9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.146 H 262.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#204A9F
RGBrgb(32, 74, 159)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(79.9%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.36, 17.63, -50.30)
CIE-LCHlch(33.36, 53.30, 289.31°)
OKLaboklab(43.16% -0.0195 -0.1449)
OKLCHoklch(43.16% 0.146 262.3)
XYZxyz(9.3002, 7.7067, 33.7916)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A9F #9F7520
analogous
#208A9F #204A9F #35209F
triadic
#204A9F #9F204A #4A9F20
tetradic
#204A9F #9F208A #9F7520 #209F35
square
#204A9F #9F208A #9F7520 #209F35
split-complementary
#204A9F #9F3520 #8A9F20
monochromatic
#0B1B39 #16326C #204A9F #2A62D2 #5B87DE

Accessibility & contrast

On white

8.26
#204A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A9F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A9F#FFFFFF#000000##FFFFFF
##204A9F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204a9f;
/* rgb */ color: rgb(32, 74, 159);
/* oklch */ color: oklch(43.2% 0.146 262.3);
Tailwind
colors: {
  custom: {
    50: '#707bbc',
    500: '#204a9f',
    950: '#000000',
  },
}
SCSS
$custom: #204a9f;
$custom-light: #707bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#204a9f",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 220.157,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.14625,
    "h": 262.3
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#204A9F
secondary
#C29F59
accent
#B13EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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