#202EA7#202EA7

#202EA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.190 H 269.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#202EA7
RGBrgb(32, 46, 167)
HSLhsl(234, 68%, 39%)
HSVhsv(234, 81%, 65%)
CMYKcmyk(80.8%, 72.5%, 0%, 34.5%)
CIE-LABlab(26.88, 39.18, -65.73)
CIE-LCHlch(26.88, 76.52, 300.79°)
OKLaboklab(38.57% -0.0032 -0.1904)
OKLCHoklch(38.57% 0.19 269)
XYZxyz(8.5453, 5.0501, 37.0761)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202EA7 #A79920
analogous
#2072A7 #202EA7 #5620A7
triadic
#202EA7 #A7202E #2EA720
tetradic
#202EA7 #A72072 #A79920 #20A756
square
#202EA7 #A72072 #A79920 #20A756
split-complementary
#202EA7 #A75620 #72A720
monochromatic
#0C1240 #162074 #202EA7 #2D3FD7 #616EE1

Accessibility & contrast

On white

10.45
#202EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#202EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202EA7
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202EA7#FFFFFF#000000##FFFFFF
##202EA71.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #202ea7;
/* rgb */ color: rgb(32, 46, 167);
/* oklch */ color: oklch(38.6% 0.190 269.0);
Tailwind
colors: {
  custom: {
    50: '#7567c2',
    500: '#202ea7',
    950: '#000000',
  },
}
SCSS
$custom: #202ea7;
$custom-light: #7567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202ea7",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 233.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.19047,
    "h": 269
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#202EA7
secondary
#C5BB5D
accent
#D93DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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