#372B81#372B81

#372B81 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.138 H 283.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#372B81
RGBrgb(55, 43, 129)
HSLhsl(248, 50%, 34%)
HSVhsv(248, 67%, 51%)
CMYKcmyk(57.4%, 66.7%, 0%, 49.4%)
CIE-LABlab(24.08, 30.67, -46.86)
CIE-LCHlch(24.08, 56.00, 303.20°)
OKLaboklab(35.85% 0.0317 -0.1346)
OKLCHoklch(35.85% 0.138 283.3)
XYZxyz(6.4007, 4.1246, 21.2235)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B81 #75812B
analogous
#2B4A81 #372B81 #622B81
triadic
#372B81 #81372B #2B8137
tetradic
#372B81 #812B4A #75812B #2B8162
square
#372B81 #812B4A #75812B #2B8162
split-complementary
#372B81 #81622B #4A812B
monochromatic
#100C25 #231C53 #372B81 #4B3AAF #6C5DC9

Accessibility & contrast

On white

11.51
#372B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B81
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B81#FFFFFF#000000##FFFFFF
##372B811.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#144052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372b81;
/* rgb */ color: rgb(55, 43, 129);
/* oklch */ color: oklch(35.8% 0.138 283.3);
Tailwind
colors: {
  custom: {
    50: '#7665a6',
    500: '#372b81',
    950: '#000000',
  },
}
SCSS
$custom: #372b81;
$custom-light: #7665a6;
$custom-dark: #000000;
JSON
{
  "hex": "#372b81",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 248.372,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.13834,
    "h": 283.3
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#372B81
secondary
#A3AF59
accent
#DA4EC6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #372B81

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

Preview Lab → · Contrast checker → · Palette generator →

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