#202881#202881

#202881 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.147 H 271.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#202881
RGBrgb(32, 40, 129)
HSLhsl(235, 60%, 32%)
HSVhsv(235, 75%, 51%)
CMYKcmyk(75.2%, 69%, 0%, 49.4%)
CIE-LABlab(21.61, 29.08, -50.96)
CIE-LCHlch(21.61, 58.68, 299.71°)
OKLaboklab(33.61% 0.0041 -0.1474)
OKLCHoklch(33.61% 0.147 271.6)
XYZxyz(5.3156, 3.4091, 21.1425)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202881 #817920
analogous
#205981 #202881 #492081
triadic
#202881 #812028 #288120
tetradic
#202881 #812059 #817920 #208149
square
#202881 #812059 #817920 #208149
split-complementary
#202881 #814920 #598120
monochromatic
#080A1F #141950 #202881 #2C37B2 #4955D2

Accessibility & contrast

On white

12.49
#202881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202881
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202881#FFFFFF#000000##FFFFFF
##2028811.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202881;
/* rgb */ color: rgb(32, 40, 129);
/* oklch */ color: oklch(33.6% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b62a6',
    500: '#202881',
    950: '#000000',
  },
}
SCSS
$custom: #202881;
$custom-light: #6b62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#202881",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 235.052,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.14742,
    "h": 271.6
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#202881
secondary
#B4AB49
accent
#D644E3
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #202881

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

Preview Lab → · Contrast checker → · Palette generator →

#202881 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva