#372C78#372C78

#372C78 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.124 H 284.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#372C78
RGBrgb(55, 44, 120)
HSLhsl(249, 46%, 32%)
HSVhsv(249, 63%, 47%)
CMYKcmyk(54.2%, 63.3%, 0%, 52.9%)
CIE-LABlab(23.57, 27.03, -41.99)
CIE-LCHlch(23.57, 49.94, 302.77°)
OKLaboklab(35.24% 0.0314 -0.1203)
OKLCHoklch(35.24% 0.124 284.6)
XYZxyz(5.8654, 3.9693, 18.2228)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C78 #6D782C
analogous
#2C4778 #372C78 #5D2C78
triadic
#372C78 #78372C #2C7837
tetradic
#372C78 #782C47 #6D782C #2C785D
square
#372C78 #782C47 #6D782C #2C785D
split-complementary
#372C78 #785D2C #47782C
monochromatic
#0E0B1E #221C4B #372C78 #4C3CA5 #6A5BC3

Accessibility & contrast

On white

11.71
#372C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C78
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C78#FFFFFF#000000##FFFFFF
##372C781.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#1D3E4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372c78;
/* rgb */ color: rgb(55, 44, 120);
/* oklch */ color: oklch(35.2% 0.124 284.6);
Tailwind
colors: {
  custom: {
    50: '#7465a0',
    500: '#372c78',
    950: '#000000',
  },
}
SCSS
$custom: #372c78;
$custom-light: #7465a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372c78",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 248.684,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.12437,
    "h": 284.6
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#372C78
secondary
#9DA957
accent
#D652C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #372C78

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

Preview Lab → · Contrast checker → · Palette generator →

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