#372C8E#372C8E

#372C8E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.155 H 280.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#372C8E
RGBrgb(55, 44, 142)
HSLhsl(247, 53%, 36%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(61.3%, 69%, 0%, 44.3%)
CIE-LABlab(25.46, 34.38, -52.72)
CIE-LCHlch(25.46, 62.94, 303.11°)
OKLaboklab(37.2% 0.0291 -0.1519)
OKLCHoklch(37.2% 0.155 280.9)
XYZxyz(7.3572, 4.5661, 26.0796)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C8E #838E2C
analogous
#2C528E #372C8E #682C8E
triadic
#372C8E #8E372C #2C8E37
tetradic
#372C8E #8E2C52 #838E2C #2C8E68
square
#372C8E #8E2C52 #838E2C #2C8E68
split-complementary
#372C8E #8E682C #528E2C
monochromatic
#130F31 #251E5F #372C8E #493ABD #7165CF

Accessibility & contrast

On white

10.98
#372C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#372C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C8E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C8E#FFFFFF#000000##FFFFFF
##372C8E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372c8e;
/* rgb */ color: rgb(55, 44, 142);
/* oklch */ color: oklch(37.2% 0.155 280.9);
Tailwind
colors: {
  custom: {
    50: '#7866b0',
    500: '#372c8e',
    950: '#000000',
  },
}
SCSS
$custom: #372c8e;
$custom-light: #7866b0;
$custom-dark: #000000;
JSON
{
  "hex": "#372c8e",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 246.735,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.15462,
    "h": 280.9
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#372C8E
secondary
#ACB660
accent
#DC4CCC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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