#204898#204898

#204898 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.139 H 262.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#204898
RGBrgb(32, 72, 152)
HSLhsl(220, 65%, 36%)
HSVhsv(220, 79%, 60%)
CMYKcmyk(78.9%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.28, 16.20, -47.83)
CIE-LCHlch(32.28, 50.49, 288.71°)
OKLaboklab(42.17% -0.0188 -0.1377)
OKLCHoklch(42.17% 0.139 262.2)
XYZxyz(8.5785, 7.2078, 30.6388)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204898 #987020
analogous
#208498 #204898 #342098
triadic
#204898 #982048 #489820
tetradic
#204898 #982084 #987020 #209834
square
#204898 #982084 #987020 #209834
split-complementary
#204898 #983420 #849820
monochromatic
#0B1833 #153065 #204898 #2B60CB #5783DC

Accessibility & contrast

On white

8.60
#204898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#204898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204898
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204898#FFFFFF#000000##FFFFFF
##2048981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204898;
/* rgb */ color: rgb(32, 72, 152);
/* oklch */ color: oklch(42.2% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ab7',
    500: '#204898',
    950: '#000000',
  },
}
SCSS
$custom: #204898;
$custom-light: #6f7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#204898",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 220,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.13899,
    "h": 262.2
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#204898
secondary
#BF9C54
accent
#B040E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204898

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

Preview Lab → · Contrast checker → · Palette generator →

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