#202AA8#202AA8

#202AA8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.196 H 269.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#202AA8
RGBrgb(32, 42, 168)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 66%)
CMYKcmyk(81%, 75%, 0%, 34.1%)
CIE-LABlab(26.13, 41.92, -67.58)
CIE-LCHlch(26.13, 79.53, 301.81°)
OKLaboklab(38.07% -0.0018 -0.1958)
OKLCHoklch(38.07% 0.196 269.5)
XYZxyz(8.4891, 4.7892, 37.5152)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202AA8 #A89E20
analogous
#206EA8 #202AA8 #5A20A8
triadic
#202AA8 #A8202A #2AA820
tetradic
#202AA8 #A8206E #A89E20 #20A85A
square
#202AA8 #A8206E #A89E20 #20A85A
split-complementary
#202AA8 #A85A20 #6EA820
monochromatic
#0C1041 #161D75 #202AA8 #2E3AD7 #616BE1

Accessibility & contrast

On white

10.73
#202AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#202AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202AA8
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202AA8#FFFFFF#000000##FFFFFF
##202AA81.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #202aa8;
/* rgb */ color: rgb(32, 42, 168);
/* oklch */ color: oklch(38.1% 0.196 269.5);
Tailwind
colors: {
  custom: {
    50: '#7565c3',
    500: '#202aa8',
    950: '#000000',
  },
}
SCSS
$custom: #202aa8;
$custom-light: #7565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#202aa8",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 235.588,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.19579,
    "h": 269.5
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#202AA8
secondary
#C6BE5E
accent
#DE3DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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