#204AAB#204AAB

#204AAB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.163 H 263.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#204AAB
RGBrgb(32, 74, 171)
HSLhsl(222, 68%, 40%)
HSVhsv(222, 81%, 67%)
CMYKcmyk(81.3%, 56.7%, 0%, 32.9%)
CIE-LABlab(34.28, 22.37, -56.00)
CIE-LCHlch(34.28, 60.30, 291.77°)
OKLaboklab(44.15% -0.0185 -0.1617)
OKLCHoklch(44.15% 0.163 263.5)
XYZxyz(10.3925, 8.1437, 39.5443)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AAB #AB8120
analogous
#208FAB #204AAB #3C20AB
triadic
#204AAB #AB204A #4AAB20
tetradic
#204AAB #AB208F #AB8120 #20AB3C
square
#204AAB #AB208F #AB8120 #20AB3C
split-complementary
#204AAB #AB3C20 #8FAB20
monochromatic
#0D1D44 #163477 #204AAB #3063D8 #638AE2

Accessibility & contrast

On white

7.99
#204AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204AAB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AAB#FFFFFF#000000##FFFFFF
##204AAB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204aab;
/* rgb */ color: rgb(32, 74, 171);
/* oklch */ color: oklch(44.1% 0.163 263.5);
Tailwind
colors: {
  custom: {
    50: '#737bc5',
    500: '#204aab',
    950: '#000000',
  },
}
SCSS
$custom: #204aab;
$custom-light: #737bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#204aab",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 221.871,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.16277,
    "h": 263.5
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#204AAB
secondary
#C7A860
accent
#B63CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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