#204780#204780

#204780 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.106 H 258.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#204780
RGBrgb(32, 71, 128)
HSLhsl(216, 60%, 31%)
HSVhsv(216, 75%, 50%)
CMYKcmyk(75%, 44.5%, 0%, 49.8%)
CIE-LABlab(30.33, 7.29, -36.21)
CIE-LCHlch(30.33, 36.93, 281.39°)
OKLaboklab(40.15% -0.0219 -0.1035)
OKLCHoklch(40.15% 0.106 258.1)
XYZxyz(6.7438, 6.3713, 21.2923)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204780 #805920
analogous
#207780 #204780 #292080
triadic
#204780 #802047 #478020
tetradic
#204780 #802077 #805920 #208029
square
#204780 #802077 #805920 #208029
split-complementary
#204780 #802920 #778020
monochromatic
#08111E #142C4F #204780 #2C62B1 #4980D1

Accessibility & contrast

On white

9.23
#204780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#204780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204780
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204780#FFFFFF#000000##FFFFFF
##2047801.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#1A437F
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204780;
/* rgb */ color: rgb(32, 71, 128);
/* oklch */ color: oklch(40.2% 0.106 258.1);
Tailwind
colors: {
  custom: {
    50: '#6979a5',
    500: '#204780',
    950: '#000000',
  },
}
SCSS
$custom: #204780;
$custom-light: #6979a5;
$custom-dark: #000000;
JSON
{
  "hex": "#204780",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 215.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.10582,
    "h": 258.1
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#204780
secondary
#B38849
accent
#A345E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204780

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

Preview Lab → · Contrast checker → · Palette generator →

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