#202AA7#202AA7

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

Color values

HEX#202AA7
RGBrgb(32, 42, 167)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 65%)
CMYKcmyk(80.8%, 74.9%, 0%, 34.5%)
CIE-LABlab(26.02, 41.58, -67.16)
CIE-LCHlch(26.02, 78.98, 301.76°)
OKLaboklab(37.96% -0.0017 -0.1945)
OKLCHoklch(37.96% 0.195 269.5)
XYZxyz(8.3963, 4.7521, 37.0264)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202AA7 #A79D20
analogous
#206EA7 #202AA7 #5A20A7
triadic
#202AA7 #A7202A #2AA720
tetradic
#202AA7 #A7206E #A79D20 #20A75A
square
#202AA7 #A7206E #A79D20 #20A75A
split-complementary
#202AA7 #A75A20 #6EA720
monochromatic
#0C1040 #161D74 #202AA7 #2D3AD7 #616AE1

Accessibility & contrast

On white

10.77
#202AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#202AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202AA7
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202AA7#FFFFFF#000000##FFFFFF
##202AA71.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #202aa7;
/* rgb */ color: rgb(32, 42, 167);
/* oklch */ color: oklch(38.0% 0.195 269.5);
Tailwind
colors: {
  custom: {
    50: '#7565c2',
    500: '#202aa7',
    950: '#000000',
  },
}
SCSS
$custom: #202aa7;
$custom-light: #7565c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202aa7",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 235.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.19456,
    "h": 269.5
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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