#204AA5#204AA5

#204AA5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.155 H 263.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#204AA5
RGBrgb(32, 74, 165)
HSLhsl(221, 68%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(80.6%, 55.2%, 0%, 35.3%)
CIE-LABlab(33.82, 20.00, -53.17)
CIE-LCHlch(33.82, 56.81, 290.61°)
OKLaboklab(43.65% -0.019 -0.1534)
OKLCHoklch(43.65% 0.155 263)
XYZxyz(9.8335, 7.9201, 36.6005)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA5 #A57B20
analogous
#208CA5 #204AA5 #3820A5
triadic
#204AA5 #A5204A #4AA520
tetradic
#204AA5 #A5208C #A57B20 #20A538
square
#204AA5 #A5208C #A57B20 #20A538
split-complementary
#204AA5 #A53820 #8CA520
monochromatic
#0C1C3E #163372 #204AA5 #2C62D6 #5F88E0

Accessibility & contrast

On white

8.13
#204AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#204AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AA5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA5#FFFFFF#000000##FFFFFF
##204AA51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204aa5;
/* rgb */ color: rgb(32, 74, 165);
/* oklch */ color: oklch(43.6% 0.155 263.0);
Tailwind
colors: {
  custom: {
    50: '#727bc0',
    500: '#204aa5',
    950: '#000000',
  },
}
SCSS
$custom: #204aa5;
$custom-light: #727bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa5",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 221.053,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.15456,
    "h": 263
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#204AA5
secondary
#C5A45C
accent
#B43DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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