#204882#204882

#204882 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.107 H 258.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#204882
RGBrgb(32, 72, 130)
HSLhsl(216, 60%, 32%)
HSVhsv(216, 75%, 51%)
CMYKcmyk(75.4%, 44.6%, 0%, 49%)
CIE-LABlab(30.77, 7.41, -36.75)
CIE-LCHlch(30.77, 37.49, 281.40°)
OKLaboklab(40.53% -0.0224 -0.1051)
OKLCHoklch(40.53% 0.107 258)
XYZxyz(6.9408, 6.5527, 22.0138)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204882 #825A20
analogous
#207982 #204882 #292082
triadic
#204882 #822048 #488220
tetradic
#204882 #822079 #825A20 #208229
square
#204882 #822079 #825A20 #208229
split-complementary
#204882 #822920 #798220
monochromatic
#081220 #142D51 #204882 #2C63B3 #4A82D2

Accessibility & contrast

On white

9.09
#204882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#204882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204882
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204882#FFFFFF#000000##FFFFFF
##2048821.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D84
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204882;
/* rgb */ color: rgb(32, 72, 130);
/* oklch */ color: oklch(40.5% 0.107 258.0);
Tailwind
colors: {
  custom: {
    50: '#697aa7',
    500: '#204882',
    950: '#000000',
  },
}
SCSS
$custom: #204882;
$custom-light: #697aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#204882",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 215.51,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.10749,
    "h": 258
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#204882
secondary
#B58949
accent
#A344E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204882

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

Preview Lab → · Contrast checker → · Palette generator →

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