#202A8E#202A8E

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

Color values

HEX#202A8E
RGBrgb(32, 42, 142)
HSLhsl(235, 63%, 34%)
HSVhsv(235, 77%, 56%)
CMYKcmyk(77.5%, 70.4%, 0%, 44.3%)
CIE-LABlab(23.39, 32.62, -56.18)
CIE-LCHlch(23.39, 64.96, 300.14°)
OKLaboklab(35.29% 0.0016 -0.1626)
OKLCHoklch(35.29% 0.163 270.6)
XYZxyz(6.3044, 3.9153, 26.0094)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A8E #8E8420
analogous
#20618E #202A8E #4D208E
triadic
#202A8E #8E202A #2A8E20
tetradic
#202A8E #8E2061 #8E8420 #208E4D
square
#202A8E #8E2061 #8E8420 #208E4D
split-complementary
#202A8E #8E4D20 #618E20
monochromatic
#090C2A #151B5C #202A8E #2B39C0 #515DD8

Accessibility & contrast

On white

11.78
#202A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202A8E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A8E#FFFFFF#000000##FFFFFF
##202A8E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202a8e;
/* rgb */ color: rgb(32, 42, 142);
/* oklch */ color: oklch(35.3% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f64b0',
    500: '#202a8e',
    950: '#000000',
  },
}
SCSS
$custom: #202a8e;
$custom-light: #6f64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#202a8e",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 234.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.16261,
    "h": 270.6
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#202A8E
secondary
#BBB14F
accent
#D742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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