#202A7D#202A7D

#202A7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.139 H 271.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#202A7D
RGBrgb(32, 42, 125)
HSLhsl(234, 59%, 31%)
HSVhsv(234, 74%, 49%)
CMYKcmyk(74.4%, 66.4%, 0%, 51%)
CIE-LABlab(21.74, 26.22, -48.23)
CIE-LCHlch(21.74, 54.90, 298.53°)
OKLaboklab(33.58% 0.0031 -0.1393)
OKLCHoklch(33.58% 0.139 271.3)
XYZxyz(5.1240, 3.4432, 19.7926)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A7D #7D7320
analogous
#20587D #202A7D #44207D
triadic
#202A7D #7D202A #2A7D20
tetradic
#202A7D #7D2058 #7D7320 #207D44
square
#202A7D #7D2058 #7D7320 #207D44
split-complementary
#202A7D #7D4420 #587D20
monochromatic
#07091C #141A4C #202A7D #2C3AAE #4756D0

Accessibility & contrast

On white

12.43
#202A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A7D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A7D#FFFFFF#000000##FFFFFF
##202A7D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202a7d;
/* rgb */ color: rgb(32, 42, 125);
/* oklch */ color: oklch(33.6% 0.139 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a63a3',
    500: '#202a7d',
    950: '#000000',
  },
}
SCSS
$custom: #202a7d;
$custom-light: #6a63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202a7d",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 233.548,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.13938,
    "h": 271.3
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#202A7D
secondary
#B0A549
accent
#D245E2
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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