#204A99#204A99

#204A99 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.138 H 261.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#204A99
RGBrgb(32, 74, 153)
HSLhsl(219, 65%, 36%)
HSVhsv(219, 79%, 60%)
CMYKcmyk(79.1%, 51.6%, 0%, 40%)
CIE-LABlab(32.93, 15.24, -47.38)
CIE-LCHlch(32.93, 49.77, 287.83°)
OKLaboklab(42.69% -0.0203 -0.1363)
OKLCHoklch(42.69% 0.138 261.5)
XYZxyz(8.7921, 7.5035, 31.1158)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A99 #996F20
analogous
#208799 #204A99 #332099
triadic
#204A99 #99204A #4A9920
tetradic
#204A99 #992087 #996F20 #209933
square
#204A99 #992087 #996F20 #209933
split-complementary
#204A99 #993320 #879920
monochromatic
#0B1934 #153266 #204A99 #2B62CC #5785DC

Accessibility & contrast

On white

8.40
#204A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#204A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A99
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A99#FFFFFF#000000##FFFFFF
##204A991.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204a99;
/* rgb */ color: rgb(32, 74, 153);
/* oklch */ color: oklch(42.7% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#6f7bb8',
    500: '#204a99',
    950: '#000000',
  },
}
SCSS
$custom: #204a99;
$custom-light: #6f7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204a99",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 219.174,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.13785,
    "h": 261.5
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#204A99
secondary
#C09B55
accent
#AE3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A99

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

Preview Lab → · Contrast checker → · Palette generator →

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