#202A89#202A89

#202A89 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.156 H 270.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#202A89
RGBrgb(32, 42, 137)
HSLhsl(234, 62%, 33%)
HSVhsv(234, 77%, 54%)
CMYKcmyk(76.6%, 69.3%, 0%, 46.3%)
CIE-LABlab(22.89, 30.76, -53.89)
CIE-LCHlch(22.89, 62.05, 299.72°)
OKLaboklab(34.78% 0.0021 -0.1559)
OKLCHoklch(34.78% 0.156 270.8)
XYZxyz(5.9374, 3.7685, 24.0765)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A89 #897F20
analogous
#205E89 #202A89 #4A2089
triadic
#202A89 #89202A #2A8920
tetradic
#202A89 #89205E #897F20 #20894A
square
#202A89 #89205E #897F20 #20894A
split-complementary
#202A89 #894A20 #5E8920
monochromatic
#090C26 #141B57 #202A89 #2C39BB #4E5BD6

Accessibility & contrast

On white

11.97
#202A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A89
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A89#FFFFFF#000000##FFFFFF
##202A891.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202a89;
/* rgb */ color: rgb(32, 42, 137);
/* oklch */ color: oklch(34.8% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d64ac',
    500: '#202a89',
    950: '#000000',
  },
}
SCSS
$custom: #202a89;
$custom-light: #6d64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202a89",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 234.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34776,
    "c": 0.15591,
    "h": 270.8
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#202A89
secondary
#B9AE4C
accent
#D643E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202A89

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

Preview Lab → · Contrast checker → · Palette generator →

#202A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva