#372C9C#372C9C

#372C9C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.173 H 278.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#372C9C
RGBrgb(55, 44, 156)
HSLhsl(246, 56%, 39%)
HSVhsv(246, 72%, 61%)
CMYKcmyk(64.7%, 71.8%, 0%, 38.8%)
CIE-LABlab(26.77, 39.01, -59.18)
CIE-LCHlch(26.77, 70.88, 303.39°)
OKLaboklab(38.55% 0.0268 -0.1708)
OKLCHoklch(38.55% 0.173 278.9)
XYZxyz(8.4751, 5.0132, 31.9671)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C9C #919C2C
analogous
#2C599C #372C9C #6F2C9C
triadic
#372C9C #9C372C #2C9C37
tetradic
#372C9C #9C2C59 #919C2C #2C9C6F
square
#372C9C #9C2C59 #919C2C #2C9C6F
split-complementary
#372C9C #9C6F2C #599C2C
monochromatic
#15113D #261F6C #372C9C #4B3DC8 #776DD6

Accessibility & contrast

On white

10.49
#372C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#372C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C9C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C9C#FFFFFF#000000##FFFFFF
##372C9C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372c9c;
/* rgb */ color: rgb(55, 44, 156);
/* oklch */ color: oklch(38.5% 0.173 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b67ba',
    500: '#372c9c',
    950: '#000000',
  },
}
SCSS
$custom: #372c9c;
$custom-light: #7b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372c9c",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 245.893,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.17285,
    "h": 278.9
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#372C9C
secondary
#B4BD67
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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