#372B78#372B78

#372B78 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.126 H 285.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#372B78
RGBrgb(55, 43, 120)
HSLhsl(249, 47%, 32%)
HSVhsv(249, 64%, 47%)
CMYKcmyk(54.2%, 64.2%, 0%, 52.9%)
CIE-LABlab(23.32, 27.67, -42.39)
CIE-LCHlch(23.32, 50.63, 303.14°)
OKLaboklab(35.06% 0.0326 -0.1215)
OKLCHoklch(35.06% 0.126 285)
XYZxyz(5.8286, 3.8957, 18.2105)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B78 #6C782B
analogous
#2B4678 #372B78 #5E2B78
triadic
#372B78 #78372B #2B7837
tetradic
#372B78 #782B46 #6C782B #2B785E
square
#372B78 #782B46 #6C782B #2B785E
split-complementary
#372B78 #785E2B #46782B
monochromatic
#0E0B1E #221B4B #372B78 #4C3BA5 #6A5AC4

Accessibility & contrast

On white

11.80
#372B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B78
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B78#FFFFFF#000000##FFFFFF
##372B781.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372b78;
/* rgb */ color: rgb(55, 43, 120);
/* oklch */ color: oklch(35.1% 0.126 285.0);
Tailwind
colors: {
  custom: {
    50: '#7465a0',
    500: '#372b78',
    950: '#000000',
  },
}
SCSS
$custom: #372b78;
$custom-light: #7465a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372b78",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 249.351,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.1258,
    "h": 285
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#372B78
secondary
#9CAA55
accent
#D751C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #372B78

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

Preview Lab → · Contrast checker → · Palette generator →

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