#204CA5#204CA5

#204CA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.152 H 262.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#204CA5
RGBrgb(32, 76, 165)
HSLhsl(220, 68%, 39%)
HSVhsv(220, 81%, 65%)
CMYKcmyk(80.6%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.38, 18.65, -52.26)
CIE-LCHlch(34.38, 55.49, 289.64°)
OKLaboklab(44.08% -0.0204 -0.1507)
OKLCHoklch(44.08% 0.152 262.3)
XYZxyz(9.9692, 8.1914, 36.6457)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CA5 #A57920
analogous
#208EA5 #204CA5 #3620A5
triadic
#204CA5 #A5204C #4CA520
tetradic
#204CA5 #A5208E #A57920 #20A536
square
#204CA5 #A5208E #A57920 #20A536
split-complementary
#204CA5 #A53620 #8EA520
monochromatic
#0C1D3E #163472 #204CA5 #2C64D6 #5F8AE0

Accessibility & contrast

On white

7.96
#204CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#204CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CA5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CA5#FFFFFF#000000##FFFFFF
##204CA51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204ca5;
/* rgb */ color: rgb(32, 76, 165);
/* oklch */ color: oklch(44.1% 0.152 262.3);
Tailwind
colors: {
  custom: {
    50: '#727dc0',
    500: '#204ca5',
    950: '#000000',
  },
}
SCSS
$custom: #204ca5;
$custom-light: #727dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#204ca5",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 220.15,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.15204,
    "h": 262.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#204CA5
secondary
#C5A25C
accent
#B13DEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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