#202DA7#202DA7

#202DA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.192 H 269.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#202DA7
RGBrgb(32, 45, 167)
HSLhsl(234, 68%, 39%)
HSVhsv(234, 81%, 65%)
CMYKcmyk(80.8%, 73.1%, 0%, 34.5%)
CIE-LABlab(26.66, 39.79, -66.10)
CIE-LCHlch(26.66, 77.15, 301.05°)
OKLaboklab(38.42% -0.0028 -0.1915)
OKLCHoklch(38.42% 0.192 269.2)
XYZxyz(8.5067, 4.9729, 37.0632)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202DA7 #A79A20
analogous
#2071A7 #202DA7 #5720A7
triadic
#202DA7 #A7202D #2DA720
tetradic
#202DA7 #A72071 #A79A20 #20A757
square
#202DA7 #A72071 #A79A20 #20A757
split-complementary
#202DA7 #A75720 #71A720
monochromatic
#0C1140 #161F74 #202DA7 #2D3ED7 #616DE1

Accessibility & contrast

On white

10.53
#202DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#202DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202DA7
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202DA7#FFFFFF#000000##FFFFFF
##202DA71.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202da7;
/* rgb */ color: rgb(32, 45, 167);
/* oklch */ color: oklch(38.4% 0.192 269.2);
Tailwind
colors: {
  custom: {
    50: '#7567c2',
    500: '#202da7',
    950: '#000000',
  },
}
SCSS
$custom: #202da7;
$custom-light: #7567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202da7",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 234.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.19151,
    "h": 269.2
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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