#372CA6#372CA6

#372CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.185 H 277.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#372CA6
RGBrgb(55, 44, 166)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(66.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.75, 42.28, -63.64)
CIE-LCHlch(27.75, 76.40, 303.60°)
OKLaboklab(39.54% 0.0249 -0.1838)
OKLCHoklch(39.54% 0.185 277.7)
XYZxyz(9.3569, 5.3660, 36.6116)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA6 #9BA62C
analogous
#2C5EA6 #372CA6 #742CA6
triadic
#372CA6 #A6372C #2CA637
tetradic
#372CA6 #A62C5E #9BA62C #2CA674
square
#372CA6 #A62C5E #9BA62C #2CA674
split-complementary
#372CA6 #A6742C #5EA62C
monochromatic
#171245 #271F76 #372CA6 #4F42CD #7C73DA

Accessibility & contrast

On white

10.13
#372CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372CA6
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA6#FFFFFF#000000##FFFFFF
##372CA61.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ca6;
/* rgb */ color: rgb(55, 44, 166);
/* oklch */ color: oklch(39.5% 0.185 277.7);
Tailwind
colors: {
  custom: {
    50: '#7d67c2',
    500: '#372ca6',
    950: '#000000',
  },
}
SCSS
$custom: #372ca6;
$custom-light: #7d67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca6",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 245.41,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.18547,
    "h": 277.7
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#372CA6
secondary
#BAC16D
accent
#E146D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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