#204998#204998

#204998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.138 H 261.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#204998
RGBrgb(32, 73, 152)
HSLhsl(220, 65%, 36%)
HSVhsv(220, 79%, 60%)
CMYKcmyk(78.9%, 52%, 0%, 40.4%)
CIE-LABlab(32.56, 15.52, -47.36)
CIE-LCHlch(32.56, 49.84, 288.14°)
OKLaboklab(42.39% -0.0196 -0.1363)
OKLCHoklch(42.39% 0.138 261.8)
XYZxyz(8.6437, 7.3382, 30.6605)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204998 #986F20
analogous
#208598 #204998 #332098
triadic
#204998 #982049 #499820
tetradic
#204998 #982085 #986F20 #209833
square
#204998 #982085 #986F20 #209833
split-complementary
#204998 #983320 #859820
monochromatic
#0B1833 #153165 #204998 #2B61CB #5784DC

Accessibility & contrast

On white

8.51
#204998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#204998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204998
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204998#FFFFFF#000000##FFFFFF
##2049981.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204998;
/* rgb */ color: rgb(32, 73, 152);
/* oklch */ color: oklch(42.4% 0.138 261.8);
Tailwind
colors: {
  custom: {
    50: '#6f7bb7',
    500: '#204998',
    950: '#000000',
  },
}
SCSS
$custom: #204998;
$custom-light: #6f7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204998",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 219.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.13771,
    "h": 261.8
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#204998
secondary
#BF9B54
accent
#AF40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204998

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

Preview Lab → · Contrast checker → · Palette generator →

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