#372C81#372C81

#372C81 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.137 H 283.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#372C81
RGBrgb(55, 44, 129)
HSLhsl(248, 49%, 34%)
HSVhsv(248, 66%, 51%)
CMYKcmyk(57.4%, 65.9%, 0%, 49.4%)
CIE-LABlab(24.32, 30.04, -46.47)
CIE-LCHlch(24.32, 55.33, 302.87°)
OKLaboklab(36.02% 0.0307 -0.1335)
OKLCHoklch(36.02% 0.137 283)
XYZxyz(6.4375, 4.1982, 21.2357)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C81 #76812C
analogous
#2C4C81 #372C81 #622C81
triadic
#372C81 #81372C #2C8137
tetradic
#372C81 #812C4C #76812C #2C8162
square
#372C81 #812C4C #76812C #2C8162
split-complementary
#372C81 #81622C #4C812C
monochromatic
#100D26 #241C53 #372C81 #4A3CAF #6D5FC8

Accessibility & contrast

On white

11.41
#372C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C81
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C81#FFFFFF#000000##FFFFFF
##372C811.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#144152
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372c81;
/* rgb */ color: rgb(55, 44, 129);
/* oklch */ color: oklch(36.0% 0.137 283.0);
Tailwind
colors: {
  custom: {
    50: '#7666a6',
    500: '#372c81',
    950: '#000000',
  },
}
SCSS
$custom: #372c81;
$custom-light: #7666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#372c81",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 247.765,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36019,
    "c": 0.137,
    "h": 283
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#372C81
secondary
#A4AF5A
accent
#D94FC7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372C81

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

Preview Lab → · Contrast checker → · Palette generator →

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