#202789#202789

#202789 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.159 H 271.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#202789
RGBrgb(32, 39, 137)
HSLhsl(236, 62%, 33%)
HSVhsv(236, 77%, 54%)
CMYKcmyk(76.6%, 71.5%, 0%, 46.3%)
CIE-LABlab(22.17, 32.71, -55.07)
CIE-LCHlch(22.17, 64.05, 300.71°)
OKLaboklab(34.26% 0.0039 -0.1593)
OKLCHoklch(34.26% 0.159 271.4)
XYZxyz(5.8350, 3.5636, 24.0424)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202789 #898220
analogous
#205B89 #202789 #4D2089
triadic
#202789 #892027 #278920
tetradic
#202789 #89205B #898220 #20894D
square
#202789 #89205B #898220 #20894D
split-complementary
#202789 #894D20 #5B8920
monochromatic
#090B26 #141957 #202789 #2C35BB #4E57D6

Accessibility & contrast

On white

12.26
#202789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202789
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202789#FFFFFF#000000##FFFFFF
##2027891.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202789;
/* rgb */ color: rgb(32, 39, 137);
/* oklch */ color: oklch(34.3% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#6e61ac',
    500: '#202789',
    950: '#000000',
  },
}
SCSS
$custom: #202789;
$custom-light: #6e61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202789",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 236,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.1594,
    "h": 271.4
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#202789
secondary
#B9B14C
accent
#DA43E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202789

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

Preview Lab → · Contrast checker → · Palette generator →

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