#204891#204891

#204891 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.129 H 261.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#204891
RGBrgb(32, 72, 145)
HSLhsl(219, 64%, 35%)
HSVhsv(219, 78%, 57%)
CMYKcmyk(77.9%, 50.3%, 0%, 43.1%)
CIE-LABlab(31.77, 13.40, -44.37)
CIE-LCHlch(31.77, 46.35, 286.81°)
OKLaboklab(41.63% -0.0197 -0.1275)
OKLCHoklch(41.63% 0.129 261.2)
XYZxyz(8.0220, 6.9852, 27.7081)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204891 #916920
analogous
#208191 #204891 #302091
triadic
#204891 #912048 #489120
tetradic
#204891 #912081 #916920 #209130
square
#204891 #912081 #916920 #209130
split-complementary
#204891 #913020 #819120
monochromatic
#0A162D #152F5F #204891 #2B61C3 #5282D9

Accessibility & contrast

On white

8.76
#204891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#204891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204891
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204891#FFFFFF#000000##FFFFFF
##2048911.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204891;
/* rgb */ color: rgb(32, 72, 145);
/* oklch */ color: oklch(41.6% 0.129 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ab2',
    500: '#204891',
    950: '#000000',
  },
}
SCSS
$custom: #204891;
$custom-light: #6d7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#204891",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 218.761,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.12906,
    "h": 261.2
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#204891
secondary
#BC9651
accent
#AC41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204891

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

Preview Lab → · Contrast checker → · Palette generator →

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