#204098#204098

#204098 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 265.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#204098
RGBrgb(32, 64, 152)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(78.9%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.01, 21.66, -51.50)
CIE-LCHlch(30.01, 55.87, 292.81°)
OKLaboklab(40.46% -0.0127 -0.1487)
OKLCHoklch(40.46% 0.149 265.1)
XYZxyz(8.0946, 6.2399, 30.4775)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204098 #987820
analogous
#207C98 #204098 #3C2098
triadic
#204098 #982040 #409820
tetradic
#204098 #98207C #987820 #20983C
square
#204098 #98207C #987820 #20983C
split-complementary
#204098 #983C20 #7C9820
monochromatic
#0B1533 #152B65 #204098 #2B55CB #577ADC

Accessibility & contrast

On white

9.34
#204098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#204098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204098
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204098#FFFFFF#000000##FFFFFF
##2040981.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204098;
/* rgb */ color: rgb(32, 64, 152);
/* oklch */ color: oklch(40.5% 0.149 265.1);
Tailwind
colors: {
  custom: {
    50: '#6f74b7',
    500: '#204098',
    950: '#000000',
  },
}
SCSS
$custom: #204098;
$custom-light: #6f74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204098",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 224,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40456,
    "c": 0.14921,
    "h": 265.1
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#204098
secondary
#BFA354
accent
#BB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #204098

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

Preview Lab → · Contrast checker → · Palette generator →

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