#204CAD#204CAD

#204CAD is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.163 H 263.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#204CAD
RGBrgb(32, 76, 173)
HSLhsl(221, 69%, 40%)
HSVhsv(221, 82%, 68%)
CMYKcmyk(81.5%, 56.1%, 0%, 32.2%)
CIE-LABlab(34.99, 21.81, -56.05)
CIE-LCHlch(34.99, 60.14, 291.26°)
OKLaboklab(44.73% -0.0197 -0.1618)
OKLCHoklch(44.73% 0.163 263.1)
XYZxyz(10.7202, 8.4918, 40.6011)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CAD #AD8120
analogous
#2092AD #204CAD #3B20AD
triadic
#204CAD #AD204C #4CAD20
tetradic
#204CAD #AD2092 #AD8120 #20AD3B
square
#204CAD #AD2092 #AD8120 #20AD3B
split-complementary
#204CAD #AD3B20 #92AD20
monochromatic
#0D1F46 #163579 #204CAD #3166D9 #658CE2

Accessibility & contrast

On white

7.78
#204CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#204CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CAD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CAD#FFFFFF#000000##FFFFFF
##204CAD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #204cad;
/* rgb */ color: rgb(32, 76, 173);
/* oklch */ color: oklch(44.7% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#747dc6',
    500: '#204cad',
    950: '#000000',
  },
}
SCSS
$custom: #204cad;
$custom-light: #747dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#204cad",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 173
  },
  "hsl": {
    "h": 221.277,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.16299,
    "h": 263.1
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#204CAD
secondary
#C8A861
accent
#B53CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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