#204881#204881

#204881 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.106 H 257.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#204881
RGBrgb(32, 72, 129)
HSLhsl(215, 60%, 32%)
HSVhsv(215, 75%, 51%)
CMYKcmyk(75.2%, 44.2%, 0%, 49.4%)
CIE-LABlab(30.70, 7.01, -36.23)
CIE-LCHlch(30.70, 36.91, 280.96°)
OKLaboklab(40.46% -0.0226 -0.1036)
OKLCHoklch(40.46% 0.106 257.7)
XYZxyz(6.8740, 6.5260, 21.6620)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204881 #815920
analogous
#207981 #204881 #292081
triadic
#204881 #812048 #488120
tetradic
#204881 #812079 #815920 #208129
square
#204881 #812079 #815920 #208129
split-complementary
#204881 #812920 #798120
monochromatic
#08111F #142D50 #204881 #2C63B2 #4982D2

Accessibility & contrast

On white

9.11
#204881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204881
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204881#FFFFFF#000000##FFFFFF
##2048811.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204881;
/* rgb */ color: rgb(32, 72, 129);
/* oklch */ color: oklch(40.5% 0.106 257.7);
Tailwind
colors: {
  custom: {
    50: '#697aa6',
    500: '#204881',
    950: '#000000',
  },
}
SCSS
$custom: #204881;
$custom-light: #697aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#204881",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 215.258,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.10604,
    "h": 257.7
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#204881
secondary
#B48849
accent
#A244E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204881

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

Preview Lab → · Contrast checker → · Palette generator →

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