#202C71#202C71

#202C71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.119 H 270.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#202C71
RGBrgb(32, 44, 113)
HSLhsl(231, 56%, 28%)
HSVhsv(231, 72%, 44%)
CMYKcmyk(71.7%, 61.1%, 0%, 55.7%)
CIE-LABlab(21.21, 20.18, -41.43)
CIE-LCHlch(21.21, 46.09, 295.97°)
OKLaboklab(32.86% 0.0017 -0.1194)
OKLCHoklch(32.86% 0.119 270.8)
XYZxyz(4.4760, 3.3003, 16.0207)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C71 #716520
analogous
#205471 #202C71 #3C2071
triadic
#202C71 #71202C #2C7120
tetradic
#202C71 #712054 #716520 #20713C
square
#202C71 #712054 #716520 #20713C
split-complementary
#202C71 #713C20 #547120
monochromatic
#070918 #121941 #202C71 #2E3FA1 #4256C9

Accessibility & contrast

On white

12.65
#202C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C71
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C71#FFFFFF#000000##FFFFFF
##202C711.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202c71;
/* rgb */ color: rgb(32, 44, 113);
/* oklch */ color: oklch(32.9% 0.119 270.8);
Tailwind
colors: {
  custom: {
    50: '#67649a',
    500: '#202c71',
    950: '#000000',
  },
}
SCSS
$custom: #202c71;
$custom-light: #67649a;
$custom-dark: #000000;
JSON
{
  "hex": "#202c71",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 231.111,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.11939,
    "h": 270.8
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#202C71
secondary
#A59748
accent
#C949DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202C71

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

Preview Lab → · Contrast checker → · Palette generator →

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