#204682#204682

#204682 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.110 H 259.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#204682
RGBrgb(32, 70, 130)
HSLhsl(217, 60%, 32%)
HSVhsv(217, 75%, 51%)
CMYKcmyk(75.4%, 46.2%, 0%, 49%)
CIE-LABlab(30.15, 8.77, -37.73)
CIE-LCHlch(30.15, 38.74, 283.08°)
OKLaboklab(40.06% -0.0205 -0.108)
OKLCHoklch(40.06% 0.11 259.3)
XYZxyz(6.8136, 6.2984, 21.9714)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204682 #825C20
analogous
#207782 #204682 #2B2082
triadic
#204682 #822046 #468220
tetradic
#204682 #822077 #825C20 #20822B
square
#204682 #822077 #825C20 #20822B
split-complementary
#204682 #822B20 #778220
monochromatic
#081120 #142C51 #204682 #2C60B3 #4A7FD2

Accessibility & contrast

On white

9.29
#204682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#204682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204682
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204682#FFFFFF#000000##FFFFFF
##2046821.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204682;
/* rgb */ color: rgb(32, 70, 130);
/* oklch */ color: oklch(40.1% 0.110 259.3);
Tailwind
colors: {
  custom: {
    50: '#6a78a7',
    500: '#204682',
    950: '#000000',
  },
}
SCSS
$custom: #204682;
$custom-light: #6a78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#204682",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 216.735,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.10998,
    "h": 259.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#204682
secondary
#B58B49
accent
#A644E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204682

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

Preview Lab → · Contrast checker → · Palette generator →

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