#202B71#202B71

#202B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.121 H 271.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#202B71
RGBrgb(32, 43, 113)
HSLhsl(232, 56%, 28%)
HSVhsv(232, 72%, 44%)
CMYKcmyk(71.7%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.93, 20.88, -41.89)
CIE-LCHlch(20.93, 46.80, 296.50°)
OKLaboklab(32.65% 0.0026 -0.1207)
OKLCHoklch(32.65% 0.121 271.2)
XYZxyz(4.4392, 3.2267, 16.0084)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B71 #716620
analogous
#205371 #202B71 #3D2071
triadic
#202B71 #71202B #2B7120
tetradic
#202B71 #712053 #716620 #20713D
square
#202B71 #712053 #716620 #20713D
split-complementary
#202B71 #713D20 #537120
monochromatic
#070918 #121941 #202B71 #2E3DA1 #4254C9

Accessibility & contrast

On white

12.76
#202B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B71
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B71#FFFFFF#000000##FFFFFF
##202B711.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202b71;
/* rgb */ color: rgb(32, 43, 113);
/* oklch */ color: oklch(32.7% 0.121 271.2);
Tailwind
colors: {
  custom: {
    50: '#67649a',
    500: '#202b71',
    950: '#000000',
  },
}
SCSS
$custom: #202b71;
$custom-light: #67649a;
$custom-dark: #000000;
JSON
{
  "hex": "#202b71",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 231.852,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.12075,
    "h": 271.2
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#202B71
secondary
#A59848
accent
#CB49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202B71

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

Preview Lab → · Contrast checker → · Palette generator →

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