#204791#204791

#204791 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.130 H 261.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#204791
RGBrgb(32, 71, 145)
HSLhsl(219, 64%, 35%)
HSVhsv(219, 78%, 57%)
CMYKcmyk(77.9%, 51%, 0%, 43.1%)
CIE-LABlab(31.48, 14.09, -44.85)
CIE-LCHlch(31.48, 47.01, 287.44°)
OKLaboklab(41.4% -0.0189 -0.129)
OKLCHoklch(41.4% 0.13 261.7)
XYZxyz(7.9579, 6.8570, 27.6867)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204791 #916A20
analogous
#208091 #204791 #312091
triadic
#204791 #912047 #479120
tetradic
#204791 #912080 #916A20 #209131
square
#204791 #912080 #916A20 #209131
split-complementary
#204791 #913120 #809120
monochromatic
#0A162D #152E5F #204791 #2B60C3 #5281D9

Accessibility & contrast

On white

8.85
#204791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#204791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204791
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204791#FFFFFF#000000##FFFFFF
##2047911.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #204791;
/* rgb */ color: rgb(32, 71, 145);
/* oklch */ color: oklch(41.4% 0.130 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d79b2',
    500: '#204791',
    950: '#000000',
  },
}
SCSS
$custom: #204791;
$custom-light: #6d79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#204791",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 219.292,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.13033,
    "h": 261.7
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#204791
secondary
#BC9751
accent
#AE41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204791

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

Preview Lab → · Contrast checker → · Palette generator →

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