#372C9A#372C9A

#372C9A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.170 H 279.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#372C9A
RGBrgb(55, 44, 154)
HSLhsl(246, 56%, 39%)
HSVhsv(246, 71%, 60%)
CMYKcmyk(64.3%, 71.4%, 0%, 39.6%)
CIE-LABlab(26.58, 38.36, -58.27)
CIE-LCHlch(26.58, 69.76, 303.35°)
OKLaboklab(38.35% 0.0272 -0.1681)
OKLCHoklch(38.35% 0.17 279.2)
XYZxyz(8.3071, 4.9460, 31.0825)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C9A #8F9A2C
analogous
#2C589A #372C9A #6E2C9A
triadic
#372C9A #9A372C #2C9A37
tetradic
#372C9A #9A2C58 #8F9A2C #2C9A6E
square
#372C9A #9A2C58 #8F9A2C #2C9A6E
split-complementary
#372C9A #9A6E2C #589A2C
monochromatic
#15113B #261E6A #372C9A #4A3CC7 #766CD5

Accessibility & contrast

On white

10.56
#372C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#372C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C9A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C9A#FFFFFF#000000##FFFFFF
##372C9A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372c9a;
/* rgb */ color: rgb(55, 44, 154);
/* oklch */ color: oklch(38.4% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b67b9',
    500: '#372c9a',
    950: '#000000',
  },
}
SCSS
$custom: #372c9a;
$custom-light: #7b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#372c9a",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 246,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.17029,
    "h": 279.2
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#372C9A
secondary
#B3BC66
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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