#204687#204687

#204687 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.117 H 260.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#204687
RGBrgb(32, 70, 135)
HSLhsl(218, 62%, 33%)
HSVhsv(218, 76%, 53%)
CMYKcmyk(76.3%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.49, 10.77, -40.30)
CIE-LCHlch(30.49, 41.71, 284.96°)
OKLaboklab(40.42% -0.0196 -0.1156)
OKLCHoklch(40.42% 0.117 260.4)
XYZxyz(7.1574, 6.4359, 23.7820)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204687 #876120
analogous
#207987 #204687 #2D2087
triadic
#204687 #872046 #468720
tetradic
#204687 #872079 #876120 #20872D
square
#204687 #872079 #876120 #20872D
split-complementary
#204687 #872D20 #798720
monochromatic
#091324 #142C56 #204687 #2C60B8 #4D7FD5

Accessibility & contrast

On white

9.18
#204687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#204687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204687
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204687#FFFFFF#000000##FFFFFF
##2046871.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#094386
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204687;
/* rgb */ color: rgb(32, 70, 135);
/* oklch */ color: oklch(40.4% 0.117 260.4);
Tailwind
colors: {
  custom: {
    50: '#6b78aa',
    500: '#204687',
    950: '#000000',
  },
}
SCSS
$custom: #204687;
$custom-light: #6b78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#204687",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 217.864,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.11723,
    "h": 260.4
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#204687
secondary
#B8904B
accent
#A943E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204687

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

Preview Lab → · Contrast checker → · Palette generator →

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