#204785#204785

#204785 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.113 H 259.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#204785
RGBrgb(32, 71, 133)
HSLhsl(217, 61%, 32%)
HSVhsv(217, 76%, 52%)
CMYKcmyk(75.9%, 46.6%, 0%, 47.8%)
CIE-LABlab(30.66, 9.29, -38.79)
CIE-LCHlch(30.66, 39.89, 283.47°)
OKLaboklab(40.51% -0.0209 -0.1111)
OKLCHoklch(40.51% 0.113 259.4)
XYZxyz(7.0810, 6.5062, 23.0684)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204785 #855E20
analogous
#207985 #204785 #2C2085
triadic
#204785 #852047 #478520
tetradic
#204785 #852079 #855E20 #20852C
square
#204785 #852079 #855E20 #20852C
split-complementary
#204785 #852C20 #798520
monochromatic
#081222 #142D54 #204785 #2C61B6 #4C80D4

Accessibility & contrast

On white

9.12
#204785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#204785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204785
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204785#FFFFFF#000000##FFFFFF
##2047851.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204785;
/* rgb */ color: rgb(32, 71, 133);
/* oklch */ color: oklch(40.5% 0.113 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a79a9',
    500: '#204785',
    950: '#000000',
  },
}
SCSS
$custom: #204785;
$custom-light: #6a79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#204785",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 216.832,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.11308,
    "h": 259.4
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#204785
secondary
#B78D4A
accent
#A643E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204785

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

Preview Lab → · Contrast checker → · Palette generator →

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