#202CA7#202CA7

#202CA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.193 H 269.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#202CA7
RGBrgb(32, 44, 167)
HSLhsl(235, 68%, 39%)
HSVhsv(235, 81%, 65%)
CMYKcmyk(80.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(26.44, 40.39, -66.46)
CIE-LCHlch(26.44, 77.77, 301.29°)
OKLaboklab(38.26% -0.0024 -0.1925)
OKLCHoklch(38.26% 0.193 269.3)
XYZxyz(8.4690, 4.8975, 37.0507)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202CA7 #A79B20
analogous
#2070A7 #202CA7 #5820A7
triadic
#202CA7 #A7202C #2CA720
tetradic
#202CA7 #A72070 #A79B20 #20A758
square
#202CA7 #A72070 #A79B20 #20A758
split-complementary
#202CA7 #A75820 #70A720
monochromatic
#0C1140 #161E74 #202CA7 #2D3CD7 #616CE1

Accessibility & contrast

On white

10.61
#202CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#202CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202CA7
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202CA7#FFFFFF#000000##FFFFFF
##202CA71.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #202ca7;
/* rgb */ color: rgb(32, 44, 167);
/* oklch */ color: oklch(38.3% 0.193 269.3);
Tailwind
colors: {
  custom: {
    50: '#7566c2',
    500: '#202ca7',
    950: '#000000',
  },
}
SCSS
$custom: #202ca7;
$custom-light: #7566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202ca7",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 234.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.19255,
    "h": 269.3
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#202CA7
secondary
#C5BC5D
accent
#DB3DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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