#204698#204698

#204698 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.142 H 263.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#204698
RGBrgb(32, 70, 152)
HSLhsl(221, 65%, 36%)
HSVhsv(221, 79%, 60%)
CMYKcmyk(78.9%, 53.9%, 0%, 40.4%)
CIE-LABlab(31.70, 17.56, -48.76)
CIE-LCHlch(31.70, 51.82, 289.81°)
OKLaboklab(41.73% -0.0172 -0.1405)
OKLCHoklch(41.73% 0.142 263)
XYZxyz(8.4513, 6.9534, 30.5964)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204698 #987220
analogous
#208298 #204698 #362098
triadic
#204698 #982046 #469820
tetradic
#204698 #982082 #987220 #209836
square
#204698 #982082 #987220 #209836
split-complementary
#204698 #983620 #829820
monochromatic
#0B1733 #152F65 #204698 #2B5DCB #5781DC

Accessibility & contrast

On white

8.78
#204698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#204698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204698
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204698#FFFFFF#000000##FFFFFF
##2046981.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204698;
/* rgb */ color: rgb(32, 70, 152);
/* oklch */ color: oklch(41.7% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f78b7',
    500: '#204698',
    950: '#000000',
  },
}
SCSS
$custom: #204698;
$custom-light: #6f78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204698",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 221,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.14153,
    "h": 263
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#204698
secondary
#BF9E54
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204698

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

Preview Lab → · Contrast checker → · Palette generator →

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