#204C98#204C98

#204C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.134 H 260.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#204C98
RGBrgb(32, 76, 152)
HSLhsl(218, 65%, 36%)
HSVhsv(218, 79%, 60%)
CMYKcmyk(78.9%, 50%, 0%, 40.4%)
CIE-LABlab(33.44, 13.48, -45.95)
CIE-LCHlch(33.44, 47.88, 286.36°)
OKLaboklab(43.06% -0.022 -0.1321)
OKLCHoklch(43.06% 0.134 260.5)
XYZxyz(8.8455, 7.7419, 30.7278)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C98 #986C20
analogous
#208898 #204C98 #302098
triadic
#204C98 #98204C #4C9820
tetradic
#204C98 #982088 #986C20 #209830
square
#204C98 #982088 #986C20 #209830
split-complementary
#204C98 #983020 #889820
monochromatic
#0B1933 #153365 #204C98 #2B65CB #5787DC

Accessibility & contrast

On white

8.24
#204C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#204C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C98
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C98#FFFFFF#000000##FFFFFF
##204C981.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204c98;
/* rgb */ color: rgb(32, 76, 152);
/* oklch */ color: oklch(43.1% 0.134 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7db7',
    500: '#204c98',
    950: '#000000',
  },
}
SCSS
$custom: #204c98;
$custom-light: #6f7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#204c98",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 218,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.13391,
    "h": 260.5
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#204C98
secondary
#BF9854
accent
#AA40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C98

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

Preview Lab → · Contrast checker → · Palette generator →

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