#204AA7#204AA7

#204AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.157 H 263.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#204AA7
RGBrgb(32, 74, 167)
HSLhsl(221, 68%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(80.8%, 55.7%, 0%, 34.5%)
CIE-LABlab(33.97, 20.79, -54.12)
CIE-LCHlch(33.97, 57.98, 291.02°)
OKLaboklab(43.81% -0.0188 -0.1562)
OKLCHoklch(43.81% 0.157 263.1)
XYZxyz(10.0170, 7.9935, 37.5667)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA7 #A77D20
analogous
#208EA7 #204AA7 #3920A7
triadic
#204AA7 #A7204A #4AA720
tetradic
#204AA7 #A7208E #A77D20 #20A739
square
#204AA7 #A7208E #A77D20 #20A739
split-complementary
#204AA7 #A73920 #8EA720
monochromatic
#0C1C40 #163374 #204AA7 #2D62D7 #6189E1

Accessibility & contrast

On white

8.08
#204AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#204AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AA7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA7#FFFFFF#000000##FFFFFF
##204AA71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204aa7;
/* rgb */ color: rgb(32, 74, 167);
/* oklch */ color: oklch(43.8% 0.157 263.1);
Tailwind
colors: {
  custom: {
    50: '#727bc2',
    500: '#204aa7',
    950: '#000000',
  },
}
SCSS
$custom: #204aa7;
$custom-light: #727bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa7",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 221.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.15731,
    "h": 263.1
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#204AA7
secondary
#C5A55D
accent
#B53DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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