#372C9B#372C9B

#372C9B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.172 H 279.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#372C9B
RGBrgb(55, 44, 155)
HSLhsl(246, 56%, 39%)
HSVhsv(246, 72%, 61%)
CMYKcmyk(64.5%, 71.6%, 0%, 39.2%)
CIE-LABlab(26.68, 38.68, -58.73)
CIE-LCHlch(26.68, 70.32, 303.37°)
OKLaboklab(38.45% 0.027 -0.1694)
OKLCHoklch(38.45% 0.172 279.1)
XYZxyz(8.3907, 4.9795, 31.5230)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C9B #909B2C
analogous
#2C599B #372C9B #6F2C9B
triadic
#372C9B #9B372C #2C9B37
tetradic
#372C9B #9B2C59 #909B2C #2C9B6F
square
#372C9B #9B2C59 #909B2C #2C9B6F
split-complementary
#372C9B #9B6F2C #599B2C
monochromatic
#15113C #261E6B #372C9B #4A3CC8 #776CD5

Accessibility & contrast

On white

10.52
#372C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372C9B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C9B#FFFFFF#000000##FFFFFF
##372C9B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372c9b;
/* rgb */ color: rgb(55, 44, 155);
/* oklch */ color: oklch(38.4% 0.172 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b67ba',
    500: '#372c9b',
    950: '#000000',
  },
}
SCSS
$custom: #372c9b;
$custom-light: #7b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372c9b",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 245.946,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.17158,
    "h": 279.1
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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