#202372#202372

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

Color values

HEX#202372
RGBrgb(32, 35, 114)
HSLhsl(238, 56%, 29%)
HSVhsv(238, 72%, 45%)
CMYKcmyk(71.9%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.90, 26.79, -45.84)
CIE-LCHlch(18.90, 53.10, 300.30°)
OKLaboklab(31.19% 0.0092 -0.1324)
OKLCHoklch(31.19% 0.133 274)
XYZxyz(4.2329, 2.7236, 16.2190)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202372 #726F20
analogous
#204C72 #202372 #462072
triadic
#202372 #722023 #237220
tetradic
#202372 #72204C #726F20 #207246
square
#202372 #72204C #726F20 #207246
split-complementary
#202372 #724620 #4C7220
monochromatic
#070718 #131442 #202372 #2D32A2 #4247CA

Accessibility & contrast

On white

13.59
#202372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202372
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202372#FFFFFF#000000##FFFFFF
##2023721.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202372;
/* rgb */ color: rgb(32, 35, 114);
/* oklch */ color: oklch(31.2% 0.133 274.0);
Tailwind
colors: {
  custom: {
    50: '#685e9b',
    500: '#202372',
    950: '#000000',
  },
}
SCSS
$custom: #202372;
$custom-light: #685e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#202372",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 237.805,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31188,
    "c": 0.13272,
    "h": 274
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#202372
secondary
#A6A248
accent
#DA48DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202372

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

Preview Lab → · Contrast checker → · Palette generator →

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