#204782#204782

#204782 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.109 H 258.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#204782
RGBrgb(32, 71, 130)
HSLhsl(216, 60%, 32%)
HSVhsv(216, 75%, 51%)
CMYKcmyk(75.4%, 45.4%, 0%, 49%)
CIE-LABlab(30.46, 8.09, -37.24)
CIE-LCHlch(30.46, 38.11, 282.26°)
OKLaboklab(40.29% -0.0214 -0.1066)
OKLCHoklch(40.29% 0.109 258.6)
XYZxyz(6.8767, 6.4245, 21.9924)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204782 #825B20
analogous
#207882 #204782 #2A2082
triadic
#204782 #822047 #478220
tetradic
#204782 #822078 #825B20 #20822A
square
#204782 #822078 #825B20 #20822A
split-complementary
#204782 #822A20 #788220
monochromatic
#081120 #142C51 #204782 #2C62B3 #4A80D2

Accessibility & contrast

On white

9.19
#204782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#204782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204782
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204782#FFFFFF#000000##FFFFFF
##2047821.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#174481
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204782;
/* rgb */ color: rgb(32, 71, 130);
/* oklch */ color: oklch(40.3% 0.109 258.6);
Tailwind
colors: {
  custom: {
    50: '#6979a7',
    500: '#204782',
    950: '#000000',
  },
}
SCSS
$custom: #204782;
$custom-light: #6979a7;
$custom-dark: #000000;
JSON
{
  "hex": "#204782",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 216.122,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.10873,
    "h": 258.6
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#204782
secondary
#B58A49
accent
#A444E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204782

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

Preview Lab → · Contrast checker → · Palette generator →

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