#202A7B#202A7B

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

Color values

HEX#202A7B
RGBrgb(32, 42, 123)
HSLhsl(233, 59%, 30%)
HSVhsv(233, 74%, 48%)
CMYKcmyk(74%, 65.9%, 0%, 51.8%)
CIE-LABlab(21.55, 25.45, -47.26)
CIE-LCHlch(21.55, 53.68, 298.30°)
OKLaboklab(33.39% 0.0032 -0.1365)
OKLCHoklch(33.39% 0.137 271.3)
XYZxyz(4.9976, 3.3926, 19.1265)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A7B #7B7120
analogous
#20577B #202A7B #44207B
triadic
#202A7B #7B202A #2A7B20
tetradic
#202A7B #7B2057 #7B7120 #207B44
square
#202A7B #7B2057 #7B7120 #207B44
split-complementary
#202A7B #7B4420 #577B20
monochromatic
#07091A #13194A #202A7B #2D3BAC #4655CF

Accessibility & contrast

On white

12.51
#202A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A7B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A7B#FFFFFF#000000##FFFFFF
##202A7B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202a7b;
/* rgb */ color: rgb(32, 42, 123);
/* oklch */ color: oklch(33.4% 0.137 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a63a2',
    500: '#202a7b',
    950: '#000000',
  },
}
SCSS
$custom: #202a7b;
$custom-light: #6a63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#202a7b",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 233.407,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.13656,
    "h": 271.3
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#202A7B
secondary
#AEA349
accent
#D146E2
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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