#204282#204282

#204282 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.115 H 261.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#204282
RGBrgb(32, 66, 130)
HSLhsl(219, 60%, 32%)
HSVhsv(219, 75%, 51%)
CMYKcmyk(75.4%, 49.2%, 0%, 49%)
CIE-LABlab(28.94, 11.51, -39.68)
CIE-LCHlch(28.94, 41.32, 286.18°)
OKLaboklab(39.12% -0.0167 -0.1139)
OKLCHoklch(39.12% 0.115 261.6)
XYZxyz(6.5717, 5.8145, 21.8907)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204282 #826020
analogous
#207382 #204282 #2F2082
triadic
#204282 #822042 #428220
tetradic
#204282 #822073 #826020 #20822F
square
#204282 #822073 #826020 #20822F
split-complementary
#204282 #822F20 #738220
monochromatic
#081020 #142951 #204282 #2C5BB3 #4A79D2

Accessibility & contrast

On white

9.71
#204282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#204282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204282
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204282#FFFFFF#000000##FFFFFF
##2042821.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#044081
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204282;
/* rgb */ color: rgb(32, 66, 130);
/* oklch */ color: oklch(39.1% 0.115 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75a7',
    500: '#204282',
    950: '#000000',
  },
}
SCSS
$custom: #204282;
$custom-light: #6a75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#204282",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 219.184,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.11508,
    "h": 261.6
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#204282
secondary
#B58F49
accent
#AC44E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204282

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

Preview Lab → · Contrast checker → · Palette generator →

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