#202989#202989

#202989 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.157 H 271.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#202989
RGBrgb(32, 41, 137)
HSLhsl(235, 62%, 33%)
HSVhsv(235, 77%, 54%)
CMYKcmyk(76.6%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.65, 31.41, -54.29)
CIE-LCHlch(22.65, 62.72, 300.06°)
OKLaboklab(34.6% 0.0027 -0.1571)
OKLCHoklch(34.6% 0.157 271)
XYZxyz(5.9024, 3.6985, 24.0649)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202989 #898020
analogous
#205D89 #202989 #4B2089
triadic
#202989 #892029 #298920
tetradic
#202989 #89205D #898020 #20894B
square
#202989 #89205D #898020 #20894B
split-complementary
#202989 #894B20 #5D8920
monochromatic
#090B26 #141A57 #202989 #2C38BB #4E59D6

Accessibility & contrast

On white

12.07
#202989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202989
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202989#FFFFFF#000000##FFFFFF
##2029891.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202989;
/* rgb */ color: rgb(32, 41, 137);
/* oklch */ color: oklch(34.6% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d63ac',
    500: '#202989',
    950: '#000000',
  },
}
SCSS
$custom: #202989;
$custom-light: #6d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202989",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 234.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.346,
    "c": 0.15709,
    "h": 271
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#202989
secondary
#B9AF4C
accent
#D743E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202989

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

Preview Lab → · Contrast checker → · Palette generator →

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