#204198#204198

#204198 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.148 H 264.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#204198
RGBrgb(32, 65, 152)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(78.9%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.29, 20.98, -51.05)
CIE-LCHlch(30.29, 55.19, 292.34°)
OKLaboklab(40.67% -0.0135 -0.1473)
OKLCHoklch(40.67% 0.148 264.8)
XYZxyz(8.1514, 6.3537, 30.4965)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204198 #987720
analogous
#207D98 #204198 #3B2098
triadic
#204198 #982041 #419820
tetradic
#204198 #98207D #987720 #20983B
square
#204198 #98207D #987720 #20983B
split-complementary
#204198 #983B20 #7D9820
monochromatic
#0B1633 #152B65 #204198 #2B57CB #577BDC

Accessibility & contrast

On white

9.25
#204198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#204198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204198
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204198#FFFFFF#000000##FFFFFF
##2041981.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204198;
/* rgb */ color: rgb(32, 65, 152);
/* oklch */ color: oklch(40.7% 0.148 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f75b7',
    500: '#204198',
    950: '#000000',
  },
}
SCSS
$custom: #204198;
$custom-light: #6f75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204198",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 223.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.14793,
    "h": 264.8
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#204198
secondary
#BFA254
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #204198

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

Preview Lab → · Contrast checker → · Palette generator →

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