#372CA5#372CA5

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

Color values

HEX#372CA5
RGBrgb(55, 44, 165)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(66.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(27.65, 41.96, -63.20)
CIE-LCHlch(27.65, 75.86, 303.58°)
OKLaboklab(39.44% 0.0251 -0.1825)
OKLCHoklch(39.44% 0.184 277.8)
XYZxyz(9.2656, 5.3294, 36.1304)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA5 #9AA52C
analogous
#2C5DA5 #372CA5 #732CA5
triadic
#372CA5 #A5372C #2CA537
tetradic
#372CA5 #A52C5D #9AA52C #2CA573
square
#372CA5 #A52C5D #9AA52C #2CA573
split-complementary
#372CA5 #A5732C #5DA52C
monochromatic
#171244 #271F75 #372CA5 #4E42CD #7B72D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372CA5#FFFFFF#000000##FFFFFF
##372CA51.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)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ca5;
/* rgb */ color: rgb(55, 44, 165);
/* oklch */ color: oklch(39.4% 0.184 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d67c1',
    500: '#372ca5',
    950: '#000000',
  },
}
SCSS
$custom: #372ca5;
$custom-light: #7d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca5",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 245.455,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.18422,
    "h": 277.8
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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