#202371#202371

#202371 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.131 H 274.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#202371
RGBrgb(32, 35, 113)
HSLhsl(238, 56%, 28%)
HSVhsv(238, 72%, 44%)
CMYKcmyk(71.7%, 69%, 0%, 55.7%)
CIE-LABlab(18.80, 26.42, -45.36)
CIE-LCHlch(18.80, 52.49, 300.22°)
OKLaboklab(31.09% 0.0093 -0.131)
OKLCHoklch(31.09% 0.131 274)
XYZxyz(4.1763, 2.7010, 15.9208)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202371 #716E20
analogous
#204B71 #202371 #452071
triadic
#202371 #712023 #237120
tetradic
#202371 #71204B #716E20 #207145
square
#202371 #71204B #716E20 #207145
split-complementary
#202371 #714520 #4B7120
monochromatic
#070718 #121441 #202371 #2E32A1 #4247C9

Accessibility & contrast

On white

13.63
#202371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202371
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202371#FFFFFF#000000##FFFFFF
##2023711.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202371;
/* rgb */ color: rgb(32, 35, 113);
/* oklch */ color: oklch(31.1% 0.131 274.0);
Tailwind
colors: {
  custom: {
    50: '#685e9b',
    500: '#202371',
    950: '#000000',
  },
}
SCSS
$custom: #202371;
$custom-light: #685e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#202371",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 237.778,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31087,
    "c": 0.13131,
    "h": 274
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#202371
secondary
#A5A148
accent
#DA49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202371

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

Preview Lab → · Contrast checker → · Palette generator →

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