#202C72#202C72

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

Color values

HEX#202C72
RGBrgb(32, 44, 114)
HSLhsl(231, 56%, 29%)
HSVhsv(231, 72%, 45%)
CMYKcmyk(71.9%, 61.4%, 0%, 55.3%)
CIE-LABlab(21.29, 20.57, -41.94)
CIE-LCHlch(21.29, 46.71, 296.13°)
OKLaboklab(32.95% 0.0018 -0.1209)
OKLCHoklch(32.95% 0.121 270.8)
XYZxyz(4.5326, 3.3229, 16.3188)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C72 #726620
analogous
#205572 #202C72 #3D2072
triadic
#202C72 #72202C #2C7220
tetradic
#202C72 #722055 #726620 #20723D
square
#202C72 #722055 #726620 #20723D
split-complementary
#202C72 #723D20 #557220
monochromatic
#070918 #131A42 #202C72 #2D3EA2 #4256CA

Accessibility & contrast

On white

12.62
#202C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C72
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C72#FFFFFF#000000##FFFFFF
##202C721.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202c72;
/* rgb */ color: rgb(32, 44, 114);
/* oklch */ color: oklch(32.9% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#67649b',
    500: '#202c72',
    950: '#000000',
  },
}
SCSS
$custom: #202c72;
$custom-light: #67649b;
$custom-dark: #000000;
JSON
{
  "hex": "#202c72",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 231.22,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.12087,
    "h": 270.8
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#202C72
secondary
#A69848
accent
#C948DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202C72

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

Preview Lab → · Contrast checker → · Palette generator →

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