#204CA7#204CA7

#204CA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.155 H 262.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#204CA7
RGBrgb(32, 76, 167)
HSLhsl(220, 68%, 39%)
HSVhsv(220, 81%, 65%)
CMYKcmyk(80.8%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.53, 19.44, -53.21)
CIE-LCHlch(34.53, 56.65, 290.07°)
OKLaboklab(44.24% -0.0202 -0.1535)
OKLCHoklch(44.24% 0.155 262.5)
XYZxyz(10.1527, 8.2648, 37.6119)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CA7 #A77B20
analogous
#2090A7 #204CA7 #3720A7
triadic
#204CA7 #A7204C #4CA720
tetradic
#204CA7 #A72090 #A77B20 #20A737
square
#204CA7 #A72090 #A77B20 #20A737
split-complementary
#204CA7 #A73720 #90A720
monochromatic
#0C1D40 #163574 #204CA7 #2D65D7 #618AE1

Accessibility & contrast

On white

7.91
#204CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#204CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CA7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CA7#FFFFFF#000000##FFFFFF
##204CA71.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204ca7;
/* rgb */ color: rgb(32, 76, 167);
/* oklch */ color: oklch(44.2% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#727dc2',
    500: '#204ca7',
    950: '#000000',
  },
}
SCSS
$custom: #204ca7;
$custom-light: #727dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#204ca7",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 220.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.1548,
    "h": 262.5
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#204CA7
secondary
#C5A45D
accent
#B23DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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