#204789#204789

#204789 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.119 H 260.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#204789
RGBrgb(32, 71, 137)
HSLhsl(218, 62%, 33%)
HSVhsv(218, 77%, 54%)
CMYKcmyk(76.6%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.92, 10.89, -40.83)
CIE-LCHlch(30.92, 42.26, 284.93°)
OKLaboklab(40.8% -0.0201 -0.1171)
OKLCHoklch(40.8% 0.119 260.2)
XYZxyz(7.3626, 6.6189, 24.5516)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204789 #896220
analogous
#207B89 #204789 #2D2089
triadic
#204789 #892047 #478920
tetradic
#204789 #89207B #896220 #20892D
square
#204789 #89207B #896220 #20892D
split-complementary
#204789 #892D20 #7B8920
monochromatic
#091426 #142D57 #204789 #2C61BB #4E80D6

Accessibility & contrast

On white

9.04
#204789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#204789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204789
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204789#FFFFFF#000000##FFFFFF
##2047891.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204789;
/* rgb */ color: rgb(32, 71, 137);
/* oklch */ color: oklch(40.8% 0.119 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b79ac',
    500: '#204789',
    950: '#000000',
  },
}
SCSS
$custom: #204789;
$custom-light: #6b79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#204789",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 217.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.11886,
    "h": 260.2
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#204789
secondary
#B9904C
accent
#A943E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204789

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

Preview Lab → · Contrast checker → · Palette generator →

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