#204381#204381

#204381 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.112 H 260.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#204381
RGBrgb(32, 67, 129)
HSLhsl(218, 60%, 32%)
HSVhsv(218, 75%, 51%)
CMYKcmyk(75.2%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.17, 10.42, -38.68)
CIE-LCHlch(29.17, 40.06, 285.08°)
OKLaboklab(39.28% -0.0178 -0.1109)
OKLCHoklch(39.28% 0.112 260.9)
XYZxyz(6.5638, 5.9057, 21.5586)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204381 #815E20
analogous
#207481 #204381 #2E2081
triadic
#204381 #812043 #438120
tetradic
#204381 #812074 #815E20 #20812E
square
#204381 #812074 #815E20 #20812E
split-complementary
#204381 #812E20 #748120
monochromatic
#08101F #142A50 #204381 #2C5CB2 #497BD2

Accessibility & contrast

On white

9.63
#204381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#204381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204381
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204381#FFFFFF#000000##FFFFFF
##2043811.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A83
Deuteranopia (green-blind)
#0C4180
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204381;
/* rgb */ color: rgb(32, 67, 129);
/* oklch */ color: oklch(39.3% 0.112 260.9);
Tailwind
colors: {
  custom: {
    50: '#6976a6',
    500: '#204381',
    950: '#000000',
  },
}
SCSS
$custom: #204381;
$custom-light: #6976a6;
$custom-dark: #000000;
JSON
{
  "hex": "#204381",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 218.351,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.11233,
    "h": 260.9
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#204381
secondary
#B48D49
accent
#AA44E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204381

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

Preview Lab → · Contrast checker → · Palette generator →

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