#372B87#372B87

#372B87 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.146 H 282.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#372B87
RGBrgb(55, 43, 135)
HSLhsl(248, 52%, 35%)
HSVhsv(248, 68%, 53%)
CMYKcmyk(59.3%, 68.1%, 0%, 47.1%)
CIE-LABlab(24.60, 32.66, -49.77)
CIE-LCHlch(24.60, 59.53, 303.28°)
OKLaboklab(36.39% 0.031 -0.1432)
OKLCHoklch(36.39% 0.147 282.2)
XYZxyz(6.8112, 4.2888, 23.3859)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B87 #7B872B
analogous
#2B4D87 #372B87 #652B87
triadic
#372B87 #87372B #2B8737
tetradic
#372B87 #872B4D #7B872B #2B8765
square
#372B87 #872B4D #7B872B #2B8765
split-complementary
#372B87 #87652B #4D872B
monochromatic
#110D2A #241C59 #372B87 #4A3AB5 #6E60CC

Accessibility & contrast

On white

11.30
#372B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B87
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B87#FFFFFF#000000##FFFFFF
##372B871.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#094255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372b87;
/* rgb */ color: rgb(55, 43, 135);
/* oklch */ color: oklch(36.4% 0.146 282.2);
Tailwind
colors: {
  custom: {
    50: '#7765ab',
    500: '#372b87',
    950: '#000000',
  },
}
SCSS
$custom: #372b87;
$custom-light: #7765ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372b87",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 247.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.1465,
    "h": 282.2
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#372B87
secondary
#A7B25B
accent
#DB4DC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372B87

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

Preview Lab → · Contrast checker → · Palette generator →

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