#204582#204582

#204582 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.111 H 259.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#204582
RGBrgb(32, 69, 130)
HSLhsl(217, 60%, 32%)
HSVhsv(217, 75%, 51%)
CMYKcmyk(75.4%, 46.9%, 0%, 49%)
CIE-LABlab(29.85, 9.45, -38.22)
CIE-LCHlch(29.85, 39.38, 283.89°)
OKLaboklab(39.82% -0.0195 -0.1095)
OKLCHoklch(39.82% 0.111 259.9)
XYZxyz(6.7516, 6.1743, 21.9507)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204582 #825D20
analogous
#207682 #204582 #2C2082
triadic
#204582 #822045 #458220
tetradic
#204582 #822076 #825D20 #20822C
square
#204582 #822076 #825D20 #20822C
split-complementary
#204582 #822C20 #768220
monochromatic
#081120 #142B51 #204582 #2C5FB3 #4A7DD2

Accessibility & contrast

On white

9.40
#204582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#204582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204582
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204582#FFFFFF#000000##FFFFFF
##2045821.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#114281
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204582;
/* rgb */ color: rgb(32, 69, 130);
/* oklch */ color: oklch(39.8% 0.111 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a78a7',
    500: '#204582',
    950: '#000000',
  },
}
SCSS
$custom: #204582;
$custom-light: #6a78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#204582",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 217.347,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.11124,
    "h": 259.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#204582
secondary
#B58C49
accent
#A744E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204582

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

Preview Lab → · Contrast checker → · Palette generator →

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