#372C96#372C96

#372C96 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.165 H 279.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#372C96
RGBrgb(55, 44, 150)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 59%)
CMYKcmyk(63.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(26.20, 37.03, -56.45)
CIE-LCHlch(26.20, 67.51, 303.27°)
OKLaboklab(37.96% 0.0279 -0.1628)
OKLCHoklch(37.96% 0.165 279.7)
XYZxyz(7.9795, 4.8150, 29.3571)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C96 #8B962C
analogous
#2C5696 #372C96 #6C2C96
triadic
#372C96 #96372C #2C9637
tetradic
#372C96 #962C56 #8B962C #2C966C
square
#372C96 #962C56 #8B962C #2C966C
split-complementary
#372C96 #966C2C #56962C
monochromatic
#141037 #261E67 #372C96 #483AC5 #7469D3

Accessibility & contrast

On white

10.70
#372C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#372C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C96
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C96#FFFFFF#000000##FFFFFF
##372C961.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372c96;
/* rgb */ color: rgb(55, 44, 150);
/* oklch */ color: oklch(38.0% 0.165 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a66b6',
    500: '#372c96',
    950: '#000000',
  },
}
SCSS
$custom: #372c96;
$custom-light: #7a66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372c96",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 246.226,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37963,
    "c": 0.16513,
    "h": 279.7
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#372C96
secondary
#B1BA64
accent
#DE4ACF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C96

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

Preview Lab → · Contrast checker → · Palette generator →

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