#372B96#372B96

#372B96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.166 H 279.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#372B96
RGBrgb(55, 43, 150)
HSLhsl(247, 55%, 38%)
HSVhsv(247, 71%, 59%)
CMYKcmyk(63.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(25.98, 37.63, -56.80)
CIE-LCHlch(25.98, 68.13, 303.52°)
OKLaboklab(37.81% 0.0287 -0.1638)
OKLCHoklch(37.81% 0.166 279.9)
XYZxyz(7.9427, 4.7414, 29.3449)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B96 #8A962B
analogous
#2B5496 #372B96 #6C2B96
triadic
#372B96 #96372B #2B9637
tetradic
#372B96 #962B54 #8A962B #2B966C
square
#372B96 #962B54 #8A962B #2B966C
split-complementary
#372B96 #966C2B #54962B
monochromatic
#141037 #261D66 #372B96 #4839C6 #7468D4

Accessibility & contrast

On white

10.78
#372B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372B96
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B96#FFFFFF#000000##FFFFFF
##372B961.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372b96;
/* rgb */ color: rgb(55, 43, 150);
/* oklch */ color: oklch(37.8% 0.166 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a66b6',
    500: '#372b96',
    950: '#000000',
  },
}
SCSS
$custom: #372b96;
$custom-light: #7a66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372b96",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 246.729,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.16628,
    "h": 279.9
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372B96

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

Preview Lab → · Contrast checker → · Palette generator →

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