#372AB7#372AB7

#372AB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.208 H 276.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#372AB7
RGBrgb(55, 42, 183)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(69.9%, 77%, 0%, 28.2%)
CIE-LABlab(29.12, 48.78, -71.56)
CIE-LCHlch(29.12, 86.61, 304.28°)
OKLaboklab(41.03% 0.0223 -0.2069)
OKLCHoklch(41.03% 0.208 276.2)
XYZxyz(10.9480, 5.8860, 45.3497)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB7 #AAB72A
analogous
#2A64B7 #372AB7 #7E2AB7
triadic
#372AB7 #B7372A #2AB737
tetradic
#372AB7 #B72A64 #AAB72A #2AB77E
square
#372AB7 #B72A64 #AAB72A #2AB77E
split-complementary
#372AB7 #B77E2A #64B72A
monochromatic
#191353 #281F85 #372AB7 #5649D5 #847BE1

Accessibility & contrast

On white

9.64
#372AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#372AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB7
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB7#FFFFFF#000000##FFFFFF
##372AB71.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #372ab7;
/* rgb */ color: rgb(55, 42, 183);
/* oklch */ color: oklch(41.0% 0.208 276.2);
Tailwind
colors: {
  custom: {
    50: '#8167ce',
    500: '#372ab7',
    950: '#000000',
  },
}
SCSS
$custom: #372ab7;
$custom-light: #8167ce;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab7",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 245.532,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.20806,
    "h": 276.2
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#372AB7
secondary
#C1C974
accent
#E642D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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