#204790#204790

#204790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.129 H 261.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#204790
RGBrgb(32, 71, 144)
HSLhsl(219, 64%, 35%)
HSVhsv(219, 78%, 56%)
CMYKcmyk(77.8%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.41, 13.69, -44.35)
CIE-LCHlch(31.41, 46.41, 287.15°)
OKLaboklab(41.33% -0.019 -0.1275)
OKLCHoklch(41.33% 0.129 261.5)
XYZxyz(7.8811, 6.8263, 27.2824)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204790 #906920
analogous
#207F90 #204790 #312090
triadic
#204790 #902047 #479020
tetradic
#204790 #90207F #906920 #209031
square
#204790 #90207F #906920 #209031
split-complementary
#204790 #903120 #7F9020
monochromatic
#0A162C #152E5E #204790 #2B60C2 #5281D9

Accessibility & contrast

On white

8.88
#204790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204790
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204790#FFFFFF#000000##FFFFFF
##2047901.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #204790;
/* rgb */ color: rgb(32, 71, 144);
/* oklch */ color: oklch(41.3% 0.129 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d79b1',
    500: '#204790',
    950: '#000000',
  },
}
SCSS
$custom: #204790;
$custom-light: #6d79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#204790",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 219.107,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.12891,
    "h": 261.5
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#204790
secondary
#BC9650
accent
#AD41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204790

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

Preview Lab → · Contrast checker → · Palette generator →

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