#372C71#372C71

#372C71 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.7% C 0.114 H 286.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#372C71
RGBrgb(55, 44, 113)
HSLhsl(250, 44%, 31%)
HSVhsv(250, 61%, 44%)
CMYKcmyk(51.3%, 61.1%, 0%, 55.7%)
CIE-LABlab(23.02, 24.70, -38.41)
CIE-LCHlch(23.02, 45.67, 302.74°)
OKLaboklab(34.66% 0.0317 -0.1098)
OKLCHoklch(34.66% 0.114 286.1)
XYZxyz(5.4560, 3.8056, 16.0667)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C71 #66712C
analogous
#2C4371 #372C71 #592C71
triadic
#372C71 #71372C #2C7137
tetradic
#372C71 #712C43 #66712C #2C7159
square
#372C71 #712C43 #66712C #2C7159
split-complementary
#372C71 #71592C #43712C
monochromatic
#0C0A19 #221B45 #372C71 #4C3D9D #6959BE

Accessibility & contrast

On white

11.92
#372C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#372C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C71
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C71#FFFFFF#000000##FFFFFF
##372C711.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#233C4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372c71;
/* rgb */ color: rgb(55, 44, 113);
/* oklch */ color: oklch(34.7% 0.114 286.1);
Tailwind
colors: {
  custom: {
    50: '#73659a',
    500: '#372c71',
    950: '#000000',
  },
}
SCSS
$custom: #372c71;
$custom-light: #73659a;
$custom-dark: #000000;
JSON
{
  "hex": "#372c71",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 249.565,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.11429,
    "h": 286.1
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#372C71
secondary
#96A356
accent
#D454BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372C71

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

Preview Lab → · Contrast checker → · Palette generator →

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