#372B8B#372B8B

#372B8B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.152 H 281.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#372B8B
RGBrgb(55, 43, 139)
HSLhsl(248, 53%, 36%)
HSVhsv(248, 69%, 55%)
CMYKcmyk(60.4%, 69.1%, 0%, 45.5%)
CIE-LABlab(24.96, 33.99, -51.67)
CIE-LCHlch(24.96, 61.85, 303.34°)
OKLaboklab(36.76% 0.0305 -0.1488)
OKLCHoklch(36.76% 0.152 281.6)
XYZxyz(7.0982, 4.4036, 24.8970)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B8B #7F8B2B
analogous
#2B4F8B #372B8B #672B8B
triadic
#372B8B #8B372B #2B8B37
tetradic
#372B8B #8B2B4F #7F8B2B #2B8B67
square
#372B8B #8B2B4F #7F8B2B #2B8B67
split-complementary
#372B8B #8B672B #4F8B2B
monochromatic
#120E2E #251D5C #372B8B #4939BA #7062CE

Accessibility & contrast

On white

11.17
#372B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#372B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B8B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B8B#FFFFFF#000000##FFFFFF
##372B8B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372b8b;
/* rgb */ color: rgb(55, 43, 139);
/* oklch */ color: oklch(36.8% 0.152 281.6);
Tailwind
colors: {
  custom: {
    50: '#7865ae',
    500: '#372b8b',
    950: '#000000',
  },
}
SCSS
$custom: #372b8b;
$custom-light: #7865ae;
$custom-dark: #000000;
JSON
{
  "hex": "#372b8b",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 247.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36761,
    "c": 0.15186,
    "h": 281.6
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#372B8B
secondary
#AAB55D
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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