#372C8B#372C8B

#372C8B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.151 H 281.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#372C8B
RGBrgb(55, 44, 139)
HSLhsl(247, 52%, 36%)
HSVhsv(247, 68%, 55%)
CMYKcmyk(60.4%, 68.3%, 0%, 45.5%)
CIE-LABlab(25.19, 33.38, -51.30)
CIE-LCHlch(25.19, 61.20, 303.05°)
OKLaboklab(36.92% 0.0296 -0.1477)
OKLCHoklch(36.92% 0.151 281.3)
XYZxyz(7.1350, 4.4772, 24.9093)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C8B #808B2C
analogous
#2C508B #372C8B #662C8B
triadic
#372C8B #8B372C #2C8B37
tetradic
#372C8B #8B2C50 #808B2C #2C8B66
square
#372C8B #8B2C50 #808B2C #2C8B66
split-complementary
#372C8B #8B662C #508B2C
monochromatic
#120F2E #251D5D #372C8B #493BB9 #7064CE

Accessibility & contrast

On white

11.08
#372C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C8B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C8B#FFFFFF#000000##FFFFFF
##372C8B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372c8b;
/* rgb */ color: rgb(55, 44, 139);
/* oklch */ color: oklch(36.9% 0.151 281.3);
Tailwind
colors: {
  custom: {
    50: '#7866ae',
    500: '#372c8b',
    950: '#000000',
  },
}
SCSS
$custom: #372c8b;
$custom-light: #7866ae;
$custom-dark: #000000;
JSON
{
  "hex": "#372c8b",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 246.947,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.15062,
    "h": 281.3
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#372C8B
secondary
#AAB45F
accent
#DB4CCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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