#204A98#204A98

#204A98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.136 H 261.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#204A98
RGBrgb(32, 74, 152)
HSLhsl(219, 65%, 36%)
HSVhsv(219, 79%, 60%)
CMYKcmyk(78.9%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.86, 14.84, -46.89)
CIE-LCHlch(32.86, 49.18, 287.56°)
OKLaboklab(42.61% -0.0204 -0.1349)
OKLCHoklch(42.61% 0.136 261.4)
XYZxyz(8.7099, 7.4706, 30.6826)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A98 #986E20
analogous
#208698 #204A98 #322098
triadic
#204A98 #98204A #4A9820
tetradic
#204A98 #982086 #986E20 #209832
square
#204A98 #982086 #986E20 #209832
split-complementary
#204A98 #983220 #869820
monochromatic
#0B1933 #153165 #204A98 #2B63CB #5785DC

Accessibility & contrast

On white

8.42
#204A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#204A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A98
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A98#FFFFFF#000000##FFFFFF
##204A981.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204a98;
/* rgb */ color: rgb(32, 74, 152);
/* oklch */ color: oklch(42.6% 0.136 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bb7',
    500: '#204a98',
    950: '#000000',
  },
}
SCSS
$custom: #204a98;
$custom-light: #6f7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204a98",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 219,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.13644,
    "h": 261.4
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#204A98
secondary
#BF9A54
accent
#AD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A98

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

Preview Lab → · Contrast checker → · Palette generator →

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