#204D98#204D98

#204D98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.133 H 260.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#204D98
RGBrgb(32, 77, 152)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(78.9%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.73, 12.81, -45.47)
CIE-LCHlch(33.73, 47.24, 285.73°)
OKLaboklab(43.29% -0.0228 -0.1307)
OKLCHoklch(43.29% 0.133 260.1)
XYZxyz(8.9150, 7.8808, 30.7510)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D98 #986B20
analogous
#208998 #204D98 #2F2098
triadic
#204D98 #98204D #4D9820
tetradic
#204D98 #982089 #986B20 #20982F
square
#204D98 #982089 #986B20 #20982F
split-complementary
#204D98 #982F20 #899820
monochromatic
#0B1A33 #153365 #204D98 #2B67CB #5789DC

Accessibility & contrast

On white

8.15
#204D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#204D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D98
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D98#FFFFFF#000000##FFFFFF
##204D981.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204d98;
/* rgb */ color: rgb(32, 77, 152);
/* oklch */ color: oklch(43.3% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#6e7eb7',
    500: '#204d98',
    950: '#000000',
  },
}
SCSS
$custom: #204d98;
$custom-light: #6e7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204d98",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 217.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.13266,
    "h": 260.1
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#204D98
secondary
#BF9754
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D98

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

Preview Lab → · Contrast checker → · Palette generator →

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