#202A9A#202A9A

#202A9A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.178 H 270.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#202A9A
RGBrgb(32, 42, 154)
HSLhsl(235, 66%, 36%)
HSVhsv(235, 79%, 60%)
CMYKcmyk(79.2%, 72.7%, 0%, 39.6%)
CIE-LABlab(24.62, 36.99, -61.55)
CIE-LCHlch(24.62, 71.81, 301.00°)
OKLaboklab(36.55% 0.0001 -0.1782)
OKLCHoklch(36.55% 0.178 270)
XYZxyz(7.2544, 4.2953, 31.0123)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A9A #9A9020
analogous
#20679A #202A9A #53209A
triadic
#202A9A #9A202A #2A9A20
tetradic
#202A9A #9A2067 #9A9020 #209A53
square
#202A9A #9A2067 #9A9020 #209A53
split-complementary
#202A9A #9A5320 #679A20
monochromatic
#0B0E35 #151C67 #202A9A #2B38CD #5863DC

Accessibility & contrast

On white

11.30
#202A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#202A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A9A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A9A#FFFFFF#000000##FFFFFF
##202A9A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202a9a;
/* rgb */ color: rgb(32, 42, 154);
/* oklch */ color: oklch(36.5% 0.178 270.0);
Tailwind
colors: {
  custom: {
    50: '#7264b9',
    500: '#202a9a',
    950: '#000000',
  },
}
SCSS
$custom: #202a9a;
$custom-light: #7264b9;
$custom-dark: #000000;
JSON
{
  "hex": "#202a9a",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 235.082,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.17824,
    "h": 270
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#202A9A
secondary
#C0B756
accent
#DB3FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #202A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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