#372CA1#372CA1

#372CA1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.179 H 278.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#372CA1
RGBrgb(55, 44, 161)
HSLhsl(246, 57%, 40%)
HSVhsv(246, 73%, 63%)
CMYKcmyk(65.8%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.26, 40.65, -61.43)
CIE-LCHlch(27.26, 73.66, 303.50°)
OKLaboklab(39.04% 0.0259 -0.1773)
OKLCHoklch(39.04% 0.179 278.3)
XYZxyz(8.9072, 5.1861, 34.2429)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA1 #96A12C
analogous
#2C5BA1 #372CA1 #712CA1
triadic
#372CA1 #A1372C #2CA137
tetradic
#372CA1 #A12C5B #96A12C #2CA171
square
#372CA1 #A12C5B #96A12C #2CA171
split-complementary
#372CA1 #A1712C #5BA12C
monochromatic
#161241 #271F71 #372CA1 #4D40CB #7970D8

Accessibility & contrast

On white

10.31
#372CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#372CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA1
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA1#FFFFFF#000000##FFFFFF
##372CA11.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372ca1;
/* rgb */ color: rgb(55, 44, 161);
/* oklch */ color: oklch(39.0% 0.179 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c67be',
    500: '#372ca1',
    950: '#000000',
  },
}
SCSS
$custom: #372ca1;
$custom-light: #7c67be;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca1",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 245.641,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.1792,
    "h": 278.3
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#372CA1
secondary
#B7BF6A
accent
#E047D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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