#204BA7#204BA7

#204BA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.156 H 262.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#204BA7
RGBrgb(32, 75, 167)
HSLhsl(221, 68%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(80.8%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.25, 20.12, -53.67)
CIE-LCHlch(34.25, 57.31, 290.55°)
OKLaboklab(44.02% -0.0195 -0.1548)
OKLCHoklch(44.02% 0.156 262.8)
XYZxyz(10.0843, 8.1281, 37.5891)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204BA7 #A77C20
analogous
#208FA7 #204BA7 #3920A7
triadic
#204BA7 #A7204B #4BA720
tetradic
#204BA7 #A7208F #A77C20 #20A739
square
#204BA7 #A7208F #A77C20 #20A739
split-complementary
#204BA7 #A73920 #8FA720
monochromatic
#0C1D40 #163474 #204BA7 #2D63D7 #6189E1

Accessibility & contrast

On white

8.00
#204BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#204BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204BA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204BA7#FFFFFF#000000##FFFFFF
##204BA71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204ba7;
/* rgb */ color: rgb(32, 75, 167);
/* oklch */ color: oklch(44.0% 0.156 262.8);
Tailwind
colors: {
  custom: {
    50: '#727cc2',
    500: '#204ba7',
    950: '#000000',
  },
}
SCSS
$custom: #204ba7;
$custom-light: #727cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#204ba7",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 220.889,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.15605,
    "h": 262.8
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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