#372C76#372C76

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

Color values

HEX#372C76
RGBrgb(55, 44, 118)
HSLhsl(249, 46%, 32%)
HSVhsv(249, 63%, 46%)
CMYKcmyk(53.4%, 62.7%, 0%, 53.7%)
CIE-LABlab(23.41, 26.36, -40.98)
CIE-LCHlch(23.41, 48.72, 302.75°)
OKLaboklab(35.07% 0.0315 -0.1174)
OKLCHoklch(35.07% 0.122 285)
XYZxyz(5.7453, 3.9213, 17.5902)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C76 #6B762C
analogous
#2C4676 #372C76 #5C2C76
triadic
#372C76 #76372C #2C7637
tetradic
#372C76 #762C46 #6B762C #2C765C
square
#372C76 #762C46 #6B762C #2C765C
split-complementary
#372C76 #765C2C #46762C
monochromatic
#0D0B1D #221B49 #372C76 #4C3DA3 #6A5BC2

Accessibility & contrast

On white

11.77
#372C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372C76
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C76#FFFFFF#000000##FFFFFF
##372C761.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#1F3D4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372c76;
/* rgb */ color: rgb(55, 44, 118);
/* oklch */ color: oklch(35.1% 0.122 285.0);
Tailwind
colors: {
  custom: {
    50: '#74659e',
    500: '#372c76',
    950: '#000000',
  },
}
SCSS
$custom: #372c76;
$custom-light: #74659e;
$custom-dark: #000000;
JSON
{
  "hex": "#372c76",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 248.919,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.12152,
    "h": 285
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#372C76
secondary
#9BA756
accent
#D552C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #372C76

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

Preview Lab → · Contrast checker → · Palette generator →

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