#202A9D#202A9D

#202A9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.182 H 269.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#202A9D
RGBrgb(32, 42, 157)
HSLhsl(235, 66%, 37%)
HSVhsv(235, 80%, 62%)
CMYKcmyk(79.6%, 73.2%, 0%, 38.4%)
CIE-LABlab(24.94, 38.06, -62.86)
CIE-LCHlch(24.94, 73.48, 301.19°)
OKLaboklab(36.87% -0.0002 -0.1821)
OKLCHoklch(36.87% 0.182 269.9)
XYZxyz(7.5074, 4.3965, 32.3447)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A9D #9D9320
analogous
#20699D #202A9D #55209D
triadic
#202A9D #9D202A #2A9D20
tetradic
#202A9D #9D2069 #9D9320 #209D55
square
#202A9D #9D2069 #9D9320 #209D55
split-complementary
#202A9D #9D5520 #699D20
monochromatic
#0B0F37 #161C6A #202A9D #2A38D0 #5A65DD

Accessibility & contrast

On white

11.17
#202A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#202A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A9D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A9D#FFFFFF#000000##FFFFFF
##202A9D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202a9d;
/* rgb */ color: rgb(32, 42, 157);
/* oklch */ color: oklch(36.9% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#7264bb',
    500: '#202a9d',
    950: '#000000',
  },
}
SCSS
$custom: #202a9d;
$custom-light: #7264bb;
$custom-dark: #000000;
JSON
{
  "hex": "#202a9d",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 235.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.18206,
    "h": 269.9
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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