#204099#204099

#204099 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.151 H 265.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#204099
RGBrgb(32, 64, 153)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(79.1%, 58.2%, 0%, 40%)
CIE-LABlab(30.09, 22.06, -51.98)
CIE-LCHlch(30.09, 56.47, 293.00°)
OKLaboklab(40.54% -0.0127 -0.1501)
OKLCHoklch(40.54% 0.151 265.2)
XYZxyz(8.1768, 6.2728, 30.9106)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204099 #997920
analogous
#207D99 #204099 #3D2099
triadic
#204099 #992040 #409920
tetradic
#204099 #99207D #997920 #20993D
square
#204099 #99207D #997920 #20993D
split-complementary
#204099 #993D20 #7D9920
monochromatic
#0B1634 #152B66 #204099 #2B55CC #577ADC

Accessibility & contrast

On white

9.31
#204099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204099
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204099#FFFFFF#000000##FFFFFF
##2040991.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204099;
/* rgb */ color: rgb(32, 64, 153);
/* oklch */ color: oklch(40.5% 0.151 265.2);
Tailwind
colors: {
  custom: {
    50: '#6f74b8',
    500: '#204099',
    950: '#000000',
  },
}
SCSS
$custom: #204099;
$custom-light: #6f74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#204099",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 224.132,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.15061,
    "h": 265.2
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#204099
secondary
#C0A455
accent
#BC3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #204099

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

Preview Lab → · Contrast checker → · Palette generator →

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