#204391#204391

#204391 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.135 H 263.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#204391
RGBrgb(32, 67, 145)
HSLhsl(221, 64%, 35%)
HSVhsv(221, 78%, 57%)
CMYKcmyk(77.9%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.31, 16.83, -46.73)
CIE-LCHlch(30.31, 49.67, 289.80°)
OKLaboklab(40.52% -0.0156 -0.1346)
OKLCHoklch(40.52% 0.135 263.4)
XYZxyz(7.7118, 6.3648, 27.6047)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204391 #916E20
analogous
#207C91 #204391 #362091
triadic
#204391 #912043 #439120
tetradic
#204391 #91207C #916E20 #209136
square
#204391 #91207C #916E20 #209136
split-complementary
#204391 #913620 #7C9120
monochromatic
#0A152D #152C5F #204391 #2B5AC3 #527CD9

Accessibility & contrast

On white

9.24
#204391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#204391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204391
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204391#FFFFFF#000000##FFFFFF
##2043911.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204391;
/* rgb */ color: rgb(32, 67, 145);
/* oklch */ color: oklch(40.5% 0.135 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d76b2',
    500: '#204391',
    950: '#000000',
  },
}
SCSS
$custom: #204391;
$custom-light: #6d76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#204391",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 221.416,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.13547,
    "h": 263.4
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#204391
secondary
#BC9B51
accent
#B341E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204391

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

Preview Lab → · Contrast checker → · Palette generator →

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