#204784#204784

#204784 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.112 H 259.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#204784
RGBrgb(32, 71, 132)
HSLhsl(217, 61%, 32%)
HSVhsv(217, 76%, 52%)
CMYKcmyk(75.8%, 46.2%, 0%, 48.2%)
CIE-LABlab(30.59, 8.89, -38.28)
CIE-LCHlch(30.59, 39.29, 283.07°)
OKLaboklab(40.43% -0.021 -0.1096)
OKLCHoklch(40.43% 0.112 259.1)
XYZxyz(7.0122, 6.4787, 22.7063)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204784 #845D20
analogous
#207984 #204784 #2B2084
triadic
#204784 #842047 #478420
tetradic
#204784 #842079 #845D20 #20842B
square
#204784 #842079 #845D20 #20842B
split-complementary
#204784 #842B20 #798420
monochromatic
#081221 #142D53 #204784 #2C61B5 #4B80D3

Accessibility & contrast

On white

9.15
#204784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#204784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204784
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204784#FFFFFF#000000##FFFFFF
##2047841.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204784;
/* rgb */ color: rgb(32, 71, 132);
/* oklch */ color: oklch(40.4% 0.112 259.1);
Tailwind
colors: {
  custom: {
    50: '#6a79a8',
    500: '#204784',
    950: '#000000',
  },
}
SCSS
$custom: #204784;
$custom-light: #6a79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#204784",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 216.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.11163,
    "h": 259.1
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#204784
secondary
#B68C4A
accent
#A644E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204784

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

Preview Lab → · Contrast checker → · Palette generator →

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