#204F98#204F98

#204F98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.130 H 259.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#204F98
RGBrgb(32, 79, 152)
HSLhsl(217, 65%, 36%)
HSVhsv(217, 79%, 60%)
CMYKcmyk(78.9%, 48%, 0%, 40.4%)
CIE-LABlab(34.32, 11.46, -44.52)
CIE-LCHlch(34.32, 45.97, 284.44°)
OKLaboklab(43.74% -0.0245 -0.1278)
OKLCHoklch(43.74% 0.13 259.1)
XYZxyz(9.0571, 8.1650, 30.7983)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F98 #986920
analogous
#208B98 #204F98 #2D2098
triadic
#204F98 #98204F #4F9820
tetradic
#204F98 #98208B #986920 #20982D
square
#204F98 #98208B #986920 #20982D
split-complementary
#204F98 #982D20 #8B9820
monochromatic
#0B1A33 #153565 #204F98 #2B69CB #578BDC

Accessibility & contrast

On white

7.98
#204F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#204F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F98
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F98#FFFFFF#000000##FFFFFF
##204F981.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204f98;
/* rgb */ color: rgb(32, 79, 152);
/* oklch */ color: oklch(43.7% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#204f98',
    950: '#000000',
  },
}
SCSS
$custom: #204f98;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204f98",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 216.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.13017,
    "h": 259.1
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#204F98
secondary
#BF9554
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F98

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

Preview Lab → · Contrast checker → · Palette generator →

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