#204498#204498

#204498 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.144 H 263.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#204498
RGBrgb(32, 68, 152)
HSLhsl(222, 65%, 36%)
HSVhsv(222, 79%, 60%)
CMYKcmyk(78.9%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.13, 18.93, -49.68)
CIE-LCHlch(31.13, 53.16, 290.86°)
OKLaboklab(41.3% -0.0157 -0.1432)
OKLCHoklch(41.3% 0.144 263.7)
XYZxyz(8.3283, 6.7074, 30.5554)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204498 #987420
analogous
#208098 #204498 #382098
triadic
#204498 #982044 #449820
tetradic
#204498 #982080 #987420 #209838
square
#204498 #982080 #987420 #209838
split-complementary
#204498 #983820 #809820
monochromatic
#0B1733 #152D65 #204498 #2B5BCB #577FDC

Accessibility & contrast

On white

8.97
#204498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#204498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204498
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204498#FFFFFF#000000##FFFFFF
##2044981.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204498;
/* rgb */ color: rgb(32, 68, 152);
/* oklch */ color: oklch(41.3% 0.144 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f77b7',
    500: '#204498',
    950: '#000000',
  },
}
SCSS
$custom: #204498;
$custom-light: #6f77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204498",
  "rgb": {
    "r": 32,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 222,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.1441,
    "h": 263.7
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#204498
secondary
#BF9F54
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204498

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

Preview Lab → · Contrast checker → · Palette generator →

#204498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva