#372B97#372B97

#372B97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.168 H 279.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#372B97
RGBrgb(55, 43, 151)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(63.6%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.08, 37.96, -57.26)
CIE-LCHlch(26.08, 68.70, 303.54°)
OKLaboklab(37.91% 0.0285 -0.1651)
OKLCHoklch(37.91% 0.168 279.8)
XYZxyz(8.0236, 4.7737, 29.7708)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B97 #8B972B
analogous
#2B5597 #372B97 #6D2B97
triadic
#372B97 #97372B #2B9737
tetradic
#372B97 #972B55 #8B972B #2B976D
square
#372B97 #972B55 #8B972B #2B976D
split-complementary
#372B97 #976D2B #55972B
monochromatic
#141038 #261D67 #372B97 #4839C7 #7468D4

Accessibility & contrast

On white

10.74
#372B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#372B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B97
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B97#FFFFFF#000000##FFFFFF
##372B971.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372b97;
/* rgb */ color: rgb(55, 43, 151);
/* oklch */ color: oklch(37.9% 0.168 279.8);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#372b97',
    950: '#000000',
  },
}
SCSS
$custom: #372b97;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372b97",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 246.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37905,
    "c": 0.16757,
    "h": 279.8
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#372B97
secondary
#B1BB63
accent
#DF49CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372B97

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

Preview Lab → · Contrast checker → · Palette generator →

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