#204C9F#204C9F

#204C9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.144 H 261.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#204C9F
RGBrgb(32, 76, 159)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 80%, 62%)
CMYKcmyk(79.9%, 52.2%, 0%, 37.6%)
CIE-LABlab(33.94, 16.27, -49.37)
CIE-LCHlch(33.94, 51.98, 288.24°)
OKLaboklab(43.6% -0.0211 -0.1422)
OKLCHoklch(43.6% 0.144 261.6)
XYZxyz(9.4359, 7.9781, 33.8368)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C9F #9F7320
analogous
#208B9F #204C9F #34209F
triadic
#204C9F #9F204C #4C9F20
tetradic
#204C9F #9F208B #9F7320 #209F34
square
#204C9F #9F208B #9F7320 #209F34
split-complementary
#204C9F #9F3420 #8B9F20
monochromatic
#0B1B39 #16346C #204C9F #2A64D2 #5B89DE

Accessibility & contrast

On white

8.09
#204C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#204C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C9F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C9F#FFFFFF#000000##FFFFFF
##204C9F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204c9f;
/* rgb */ color: rgb(32, 76, 159);
/* oklch */ color: oklch(43.6% 0.144 261.6);
Tailwind
colors: {
  custom: {
    50: '#707dbc',
    500: '#204c9f',
    950: '#000000',
  },
}
SCSS
$custom: #204c9f;
$custom-light: #707dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#204c9f",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 219.213,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.14372,
    "h": 261.6
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#204C9F
secondary
#C29E59
accent
#AE3EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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