#372CA4#372CA4

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

Color values

HEX#372CA4
RGBrgb(55, 44, 164)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 73%, 64%)
CMYKcmyk(66.5%, 73.2%, 0%, 35.7%)
CIE-LABlab(27.55, 41.63, -62.76)
CIE-LCHlch(27.55, 75.31, 303.56°)
OKLaboklab(39.34% 0.0253 -0.1812)
OKLCHoklch(39.34% 0.183 277.9)
XYZxyz(9.1749, 5.2932, 35.6529)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA4 #99A42C
analogous
#2C5DA4 #372CA4 #732CA4
triadic
#372CA4 #A4372C #2CA437
tetradic
#372CA4 #A42C5D #99A42C #2CA473
square
#372CA4 #A42C5D #99A42C #2CA473
split-complementary
#372CA4 #A4732C #5DA42C
monochromatic
#171243 #271F74 #372CA4 #4E41CC #7B71D9

Accessibility & contrast

On white

10.20
#372CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#372CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA4
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA4#FFFFFF#000000##FFFFFF
##372CA41.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ca4;
/* rgb */ color: rgb(55, 44, 164);
/* oklch */ color: oklch(39.3% 0.183 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d67c0',
    500: '#372ca4',
    950: '#000000',
  },
}
SCSS
$custom: #372ca4;
$custom-light: #7d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca4",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 245.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.18297,
    "h": 277.9
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#372CA4
secondary
#B9C06B
accent
#E147D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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