#202D72#202D72

#202D72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.120 H 270.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#202D72
RGBrgb(32, 45, 114)
HSLhsl(230, 56%, 29%)
HSVhsv(230, 72%, 45%)
CMYKcmyk(71.9%, 60.5%, 0%, 55.3%)
CIE-LABlab(21.57, 19.87, -41.48)
CIE-LCHlch(21.57, 45.99, 295.59°)
OKLaboklab(33.16% 0.0009 -0.1195)
OKLCHoklch(33.16% 0.12 270.4)
XYZxyz(4.5703, 3.3983, 16.3314)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D72 #726520
analogous
#205672 #202D72 #3C2072
triadic
#202D72 #72202D #2D7220
tetradic
#202D72 #722056 #726520 #20723C
square
#202D72 #722056 #726520 #20723C
split-complementary
#202D72 #723C20 #567220
monochromatic
#070918 #131A42 #202D72 #2D40A2 #4258CA

Accessibility & contrast

On white

12.50
#202D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D72
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D72#FFFFFF#000000##FFFFFF
##202D721.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202d72;
/* rgb */ color: rgb(32, 45, 114);
/* oklch */ color: oklch(33.2% 0.120 270.4);
Tailwind
colors: {
  custom: {
    50: '#67659b',
    500: '#202d72',
    950: '#000000',
  },
}
SCSS
$custom: #202d72;
$custom-light: #67659b;
$custom-dark: #000000;
JSON
{
  "hex": "#202d72",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 230.488,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33157,
    "c": 0.11951,
    "h": 270.4
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#202D72
secondary
#A69748
accent
#C848DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202D72

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

Preview Lab → · Contrast checker → · Palette generator →

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