#204084#204084

#204084 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.121 H 263.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#204084
RGBrgb(32, 64, 132)
HSLhsl(221, 61%, 32%)
HSVhsv(221, 76%, 52%)
CMYKcmyk(75.8%, 51.5%, 0%, 48.2%)
CIE-LABlab(28.48, 13.70, -41.66)
CIE-LCHlch(28.48, 43.86, 288.20°)
OKLaboklab(38.82% -0.0146 -0.1197)
OKLCHoklch(38.82% 0.121 263)
XYZxyz(6.5924, 5.6391, 22.5663)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204084 #846420
analogous
#207284 #204084 #322084
triadic
#204084 #842040 #408420
tetradic
#204084 #842072 #846420 #208432
square
#204084 #842072 #846420 #208432
split-complementary
#204084 #843220 #728420
monochromatic
#081021 #142853 #204084 #2C58B5 #4B77D3

Accessibility & contrast

On white

9.87
#204084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#204084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204084
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204084#FFFFFF#000000##FFFFFF
##2040841.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184886
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204084;
/* rgb */ color: rgb(32, 64, 132);
/* oklch */ color: oklch(38.8% 0.121 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a74a8',
    500: '#204084',
    950: '#000000',
  },
}
SCSS
$custom: #204084;
$custom-light: #6a74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#204084",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 220.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38817,
    "c": 0.12062,
    "h": 263
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#204084
secondary
#B6934A
accent
#B144E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #204084

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

Preview Lab → · Contrast checker → · Palette generator →

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