#202A7A#202A7A

#202A7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.135 H 271.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#202A7A
RGBrgb(32, 42, 122)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 74%, 48%)
CMYKcmyk(73.8%, 65.6%, 0%, 52.2%)
CIE-LABlab(21.46, 25.07, -46.78)
CIE-LCHlch(21.46, 53.07, 298.19°)
OKLaboklab(33.29% 0.0032 -0.1351)
OKLCHoklch(33.29% 0.135 271.4)
XYZxyz(4.9353, 3.3677, 18.7985)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A7A #7A7020
analogous
#20577A #202A7A #43207A
triadic
#202A7A #7A202A #2A7A20
tetradic
#202A7A #7A2057 #7A7020 #207A43
square
#202A7A #7A2057 #7A7020 #207A43
split-complementary
#202A7A #7A4320 #577A20
monochromatic
#070919 #13194A #202A7A #2D3BAA #4655CE

Accessibility & contrast

On white

12.55
#202A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A7A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A7A#FFFFFF#000000##FFFFFF
##202A7A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202a7a;
/* rgb */ color: rgb(32, 42, 122);
/* oklch */ color: oklch(33.3% 0.135 271.4);
Tailwind
colors: {
  custom: {
    50: '#6963a1',
    500: '#202a7a',
    950: '#000000',
  },
}
SCSS
$custom: #202a7a;
$custom-light: #6963a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202a7a",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 233.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.13514,
    "h": 271.4
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#202A7A
secondary
#ADA249
accent
#D046E2
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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