#204B98#204B98

#204B98 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.135 H 261.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#204B98
RGBrgb(32, 75, 152)
HSLhsl(219, 65%, 36%)
HSVhsv(219, 79%, 60%)
CMYKcmyk(78.9%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.15, 14.16, -46.42)
CIE-LCHlch(33.15, 48.53, 286.97°)
OKLaboklab(42.84% -0.0212 -0.1335)
OKLCHoklch(42.84% 0.135 261)
XYZxyz(8.7772, 7.6052, 30.7050)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B98 #986D20
analogous
#208798 #204B98 #312098
triadic
#204B98 #98204B #4B9820
tetradic
#204B98 #982087 #986D20 #209831
square
#204B98 #982087 #986D20 #209831
split-complementary
#204B98 #983120 #879820
monochromatic
#0B1933 #153265 #204B98 #2B64CB #5786DC

Accessibility & contrast

On white

8.33
#204B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B98
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B98#FFFFFF#000000##FFFFFF
##204B981.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204b98;
/* rgb */ color: rgb(32, 75, 152);
/* oklch */ color: oklch(42.8% 0.135 261.0);
Tailwind
colors: {
  custom: {
    50: '#6f7cb7',
    500: '#204b98',
    950: '#000000',
  },
}
SCSS
$custom: #204b98;
$custom-light: #6f7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#204b98",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 218.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.13517,
    "h": 261
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#204B98
secondary
#BF9954
accent
#AC40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204B98

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

Preview Lab → · Contrast checker → · Palette generator →

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