#202DA1#202DA1

#202DA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.184 H 269.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#202DA1
RGBrgb(32, 45, 161)
HSLhsl(234, 67%, 38%)
HSVhsv(234, 80%, 63%)
CMYKcmyk(80.1%, 72%, 0%, 36.9%)
CIE-LABlab(26.03, 37.65, -63.50)
CIE-LCHlch(26.03, 73.82, 300.66°)
OKLaboklab(37.78% -0.0021 -0.1839)
OKLCHoklch(37.78% 0.184 269.4)
XYZxyz(7.9649, 4.7561, 34.2096)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202DA1 #A19420
analogous
#206EA1 #202DA1 #5320A1
triadic
#202DA1 #A1202D #2DA120
tetradic
#202DA1 #A1206E #A19420 #20A153
square
#202DA1 #A1206E #A19420 #20A153
split-complementary
#202DA1 #A15320 #6EA120
monochromatic
#0C103B #161F6E #202DA1 #2A3BD4 #5D6ADF

Accessibility & contrast

On white

10.76
#202DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202DA1
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202DA1#FFFFFF#000000##FFFFFF
##202DA11.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #202da1;
/* rgb */ color: rgb(32, 45, 161);
/* oklch */ color: oklch(37.8% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#7366be',
    500: '#202da1',
    950: '#000000',
  },
}
SCSS
$custom: #202da1;
$custom-light: #7366be;
$custom-dark: #000000;
JSON
{
  "hex": "#202da1",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 233.953,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.18395,
    "h": 269.4
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#202DA1
secondary
#C3B85A
accent
#D83EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #202DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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