#204AAF#204AAF

#204AAF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.168 H 263.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#204AAF
RGBrgb(32, 74, 175)
HSLhsl(222, 69%, 41%)
HSVhsv(222, 82%, 69%)
CMYKcmyk(81.7%, 57.7%, 0%, 31.4%)
CIE-LABlab(34.60, 23.93, -57.87)
CIE-LCHlch(34.60, 62.62, 292.47°)
OKLaboklab(44.48% -0.0182 -0.1672)
OKLCHoklch(44.48% 0.168 263.8)
XYZxyz(10.7795, 8.2985, 41.5828)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AAF #AF8520
analogous
#2091AF #204AAF #3E20AF
triadic
#204AAF #AF204A #4AAF20
tetradic
#204AAF #AF2091 #AF8520 #20AF3E
square
#204AAF #AF2091 #AF8520 #20AF3E
split-complementary
#204AAF #AF3E20 #91AF20
monochromatic
#0D1E48 #17347B #204AAF #3364DA #668BE3

Accessibility & contrast

On white

7.89
#204AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#204AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AAF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AAF#FFFFFF#000000##FFFFFF
##204AAF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204aaf;
/* rgb */ color: rgb(32, 74, 175);
/* oklch */ color: oklch(44.5% 0.168 263.8);
Tailwind
colors: {
  custom: {
    50: '#747bc8',
    500: '#204aaf',
    950: '#000000',
  },
}
SCSS
$custom: #204aaf;
$custom-light: #747bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#204aaf",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 222.378,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.16819,
    "h": 263.8
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#204AAF
secondary
#C8AA62
accent
#B83CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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