#204786#204786

#204786 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.115 H 259.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#204786
RGBrgb(32, 71, 134)
HSLhsl(217, 61%, 33%)
HSVhsv(217, 76%, 53%)
CMYKcmyk(76.1%, 47%, 0%, 47.5%)
CIE-LABlab(30.72, 9.69, -39.30)
CIE-LCHlch(30.72, 40.48, 283.85°)
OKLaboklab(40.58% -0.0207 -0.1126)
OKLCHoklch(40.58% 0.115 259.6)
XYZxyz(7.1504, 6.5340, 23.4340)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204786 #865F20
analogous
#207A86 #204786 #2C2086
triadic
#204786 #862047 #478620
tetradic
#204786 #86207A #865F20 #20862C
square
#204786 #86207A #865F20 #20862C
split-complementary
#204786 #862C20 #7A8620
monochromatic
#081323 #142D55 #204786 #2C61B7 #4C80D4

Accessibility & contrast

On white

9.10
#204786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#204786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204786
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204786#FFFFFF#000000##FFFFFF
##2047861.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204786;
/* rgb */ color: rgb(32, 71, 134);
/* oklch */ color: oklch(40.6% 0.115 259.6);
Tailwind
colors: {
  custom: {
    50: '#6a79aa',
    500: '#204786',
    950: '#000000',
  },
}
SCSS
$custom: #204786;
$custom-light: #6a79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204786",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 217.059,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.11452,
    "h": 259.6
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#204786
secondary
#B78E4B
accent
#A743E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204786

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

Preview Lab → · Contrast checker → · Palette generator →

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