#372C87#372C87

#372C87 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.145 H 282.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#372C87
RGBrgb(55, 44, 135)
HSLhsl(247, 51%, 35%)
HSVhsv(247, 67%, 53%)
CMYKcmyk(59.3%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.84, 32.04, -49.39)
CIE-LCHlch(24.84, 58.87, 302.97°)
OKLaboklab(36.56% 0.0301 -0.1421)
OKLCHoklch(36.56% 0.145 282)
XYZxyz(6.8480, 4.3624, 23.3981)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C87 #7C872C
analogous
#2C4E87 #372C87 #652C87
triadic
#372C87 #87372C #2C8737
tetradic
#372C87 #872C4E #7C872C #2C8765
square
#372C87 #872C4E #7C872C #2C8765
split-complementary
#372C87 #87652C #4E872C
monochromatic
#110E2B #241D59 #372C87 #4A3BB5 #6E62CC

Accessibility & contrast

On white

11.21
#372C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C87
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C87#FFFFFF#000000##FFFFFF
##372C871.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#094355
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372c87;
/* rgb */ color: rgb(55, 44, 135);
/* oklch */ color: oklch(36.6% 0.145 282.0);
Tailwind
colors: {
  custom: {
    50: '#7766ab',
    500: '#372c87',
    950: '#000000',
  },
}
SCSS
$custom: #372c87;
$custom-light: #7766ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372c87",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 247.253,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.14522,
    "h": 282
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#372C87
secondary
#A8B25D
accent
#DA4DC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372C87

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

Preview Lab → · Contrast checker → · Palette generator →

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