#202AA5#202AA5

#202AA5 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.192 H 269.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#202AA5
RGBrgb(32, 42, 165)
HSLhsl(235, 68%, 39%)
HSVhsv(235, 81%, 65%)
CMYKcmyk(80.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(25.80, 40.88, -66.31)
CIE-LCHlch(25.80, 77.90, 301.66°)
OKLaboklab(37.74% -0.0014 -0.1921)
OKLCHoklch(37.74% 0.192 269.6)
XYZxyz(8.2128, 4.6787, 36.0602)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202AA5 #A59B20
analogous
#206CA5 #202AA5 #5820A5
triadic
#202AA5 #A5202A #2AA520
tetradic
#202AA5 #A5206C #A59B20 #20A558
square
#202AA5 #A5206C #A59B20 #20A558
split-complementary
#202AA5 #A55820 #6CA520
monochromatic
#0C103E #161D72 #202AA5 #2C39D6 #5F69E0

Accessibility & contrast

On white

10.85
#202AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#202AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202AA5
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202AA5#FFFFFF#000000##FFFFFF
##202AA51.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #202aa5;
/* rgb */ color: rgb(32, 42, 165);
/* oklch */ color: oklch(37.7% 0.192 269.6);
Tailwind
colors: {
  custom: {
    50: '#7565c1',
    500: '#202aa5',
    950: '#000000',
  },
}
SCSS
$custom: #202aa5;
$custom-light: #7565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#202aa5",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 235.489,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.19208,
    "h": 269.6
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#202AA5
secondary
#C5BD5C
accent
#DD3DEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #202AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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