#372EA1#372EA1

#372EA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.177 H 278.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#372EA1
RGBrgb(55, 46, 161)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 71%, 63%)
CMYKcmyk(65.8%, 71.4%, 0%, 36.9%)
CIE-LABlab(27.68, 39.49, -60.73)
CIE-LCHlch(27.68, 72.44, 303.03°)
OKLaboklab(39.34% 0.0245 -0.1753)
OKLCHoklch(39.34% 0.177 278)
XYZxyz(8.9835, 5.3387, 34.2684)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA1 #98A12E
analogous
#2E5EA1 #372EA1 #712EA1
triadic
#372EA1 #A1372E #2EA137
tetradic
#372EA1 #A12E5E #98A12E #2EA171
square
#372EA1 #A12E5E #98A12E #2EA171
split-complementary
#372EA1 #A1712E #5EA12E
monochromatic
#161342 #272071 #372EA1 #4D43C9 #7A73D7

Accessibility & contrast

On white

10.16
#372EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#372EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EA1
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA1#FFFFFF#000000##FFFFFF
##372EA11.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ea1;
/* rgb */ color: rgb(55, 46, 161);
/* oklch */ color: oklch(39.3% 0.177 278.0);
Tailwind
colors: {
  custom: {
    50: '#7c68be',
    500: '#372ea1',
    950: '#000000',
  },
}
SCSS
$custom: #372ea1;
$custom-light: #7c68be;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea1",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 244.696,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.17701,
    "h": 278
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#372EA1
secondary
#B8BE6C
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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