#202A8D#202A8D

#202A8D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.161 H 270.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#202A8D
RGBrgb(32, 42, 141)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 77%, 55%)
CMYKcmyk(77.3%, 70.2%, 0%, 44.7%)
CIE-LABlab(23.29, 32.25, -55.73)
CIE-LCHlch(23.29, 64.38, 300.06°)
OKLaboklab(35.19% 0.0017 -0.1613)
OKLCHoklch(35.19% 0.161 270.6)
XYZxyz(6.2297, 3.8854, 25.6158)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A8D #8D8320
analogous
#20618D #202A8D #4D208D
triadic
#202A8D #8D202A #2A8D20
tetradic
#202A8D #8D2061 #8D8320 #208D4D
square
#202A8D #8D2061 #8D8320 #208D4D
split-complementary
#202A8D #8D4D20 #618D20
monochromatic
#090C29 #151B5B #202A8D #2B39BF #505DD7

Accessibility & contrast

On white

11.82
#202A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#202A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A8D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A8D#FFFFFF#000000##FFFFFF
##202A8D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202a8d;
/* rgb */ color: rgb(32, 42, 141);
/* oklch */ color: oklch(35.2% 0.161 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e64af',
    500: '#202a8d',
    950: '#000000',
  },
}
SCSS
$custom: #202a8d;
$custom-light: #6e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#202a8d",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 234.495,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.16128,
    "h": 270.6
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#202A8D
secondary
#BAB14E
accent
#D742E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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