#204DA5#204DA5

#204DA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.151 H 261.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#204DA5
RGBrgb(32, 77, 165)
HSLhsl(220, 68%, 39%)
HSVhsv(220, 81%, 65%)
CMYKcmyk(80.6%, 53.3%, 0%, 35.3%)
CIE-LABlab(34.66, 17.98, -51.80)
CIE-LCHlch(34.66, 54.83, 289.14°)
OKLaboklab(44.29% -0.0211 -0.1493)
OKLCHoklch(44.29% 0.151 261.9)
XYZxyz(10.0386, 8.3303, 36.6688)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DA5 #A57820
analogous
#208FA5 #204DA5 #3520A5
triadic
#204DA5 #A5204D #4DA520
tetradic
#204DA5 #A5208F #A57820 #20A535
square
#204DA5 #A5208F #A57820 #20A535
split-complementary
#204DA5 #A53520 #8FA520
monochromatic
#0C1D3E #163572 #204DA5 #2C66D6 #5F8BE0

Accessibility & contrast

On white

7.88
#204DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#204DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204DA5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DA5#FFFFFF#000000##FFFFFF
##204DA51.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B58A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204da5;
/* rgb */ color: rgb(32, 77, 165);
/* oklch */ color: oklch(44.3% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#727ec0',
    500: '#204da5',
    950: '#000000',
  },
}
SCSS
$custom: #204da5;
$custom-light: #727ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#204da5",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 219.699,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.15079,
    "h": 261.9
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#204DA5
secondary
#C5A15C
accent
#B03DEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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