#372EA7#372EA7

#372EA7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.185 H 277.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#372EA7
RGBrgb(55, 46, 167)
HSLhsl(244, 57%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.26, 41.46, -63.41)
CIE-LCHlch(28.26, 75.76, 303.18°)
OKLaboklab(39.93% 0.0234 -0.1831)
OKLCHoklch(39.93% 0.185 277.3)
XYZxyz(9.5253, 5.5554, 37.1221)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA7 #9EA72E
analogous
#2E62A7 #372EA7 #742EA7
triadic
#372EA7 #A7372E #2EA737
tetradic
#372EA7 #A72E62 #9EA72E #2EA774
square
#372EA7 #A72E62 #9EA72E #2EA774
split-complementary
#372EA7 #A7742E #62A72E
monochromatic
#171447 #272177 #372EA7 #5046CC #7D76D9

Accessibility & contrast

On white

9.95
#372EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#372EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EA7
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA7#FFFFFF#000000##FFFFFF
##372EA71.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372ea7;
/* rgb */ color: rgb(55, 46, 167);
/* oklch */ color: oklch(39.9% 0.185 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d68c2',
    500: '#372ea7',
    950: '#000000',
  },
}
SCSS
$custom: #372ea7;
$custom-light: #7d68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea7",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 244.463,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.18461,
    "h": 277.3
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#372EA7
secondary
#BBC170
accent
#E048D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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