#372B76#372B76

#372B76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.123 H 285.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#372B76
RGBrgb(55, 43, 118)
HSLhsl(250, 47%, 32%)
HSVhsv(250, 64%, 46%)
CMYKcmyk(53.4%, 63.6%, 0%, 53.7%)
CIE-LABlab(23.16, 27.01, -41.38)
CIE-LCHlch(23.16, 49.42, 303.13°)
OKLaboklab(34.89% 0.0327 -0.1185)
OKLCHoklch(34.89% 0.123 285.4)
XYZxyz(5.7085, 3.8477, 17.5779)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B76 #6A762B
analogous
#2B4576 #372B76 #5D2B76
triadic
#372B76 #76372B #2B7637
tetradic
#372B76 #762B45 #6A762B #2B765D
square
#372B76 #762B45 #6A762B #2B765D
split-complementary
#372B76 #765D2B #45762B
monochromatic
#0D0A1C #221B49 #372B76 #4C3BA3 #6A59C2

Accessibility & contrast

On white

11.87
#372B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#372B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B76
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B76#FFFFFF#000000##FFFFFF
##372B761.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#1F3D4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372b76;
/* rgb */ color: rgb(55, 43, 118);
/* oklch */ color: oklch(34.9% 0.123 285.4);
Tailwind
colors: {
  custom: {
    50: '#74659e',
    500: '#372b76',
    950: '#000000',
  },
}
SCSS
$custom: #372b76;
$custom-light: #74659e;
$custom-dark: #000000;
JSON
{
  "hex": "#372b76",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 249.6,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.12296,
    "h": 285.4
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#372B76
secondary
#9AA855
accent
#D652C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #372B76

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

Preview Lab → · Contrast checker → · Palette generator →

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