#372FA6#372FA6

#372FA6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.182 H 277.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#372FA6
RGBrgb(55, 47, 166)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(66.9%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.37, 40.55, -62.62)
CIE-LCHlch(28.37, 74.60, 302.93°)
OKLaboklab(39.98% 0.0229 -0.1808)
OKLCHoklch(39.98% 0.182 277.2)
XYZxyz(9.4728, 5.5976, 36.6502)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA6 #9EA62F
analogous
#2F62A6 #372FA6 #732FA6
triadic
#372FA6 #A6372F #2FA637
tetradic
#372FA6 #A62F62 #9EA62F #2FA673
square
#372FA6 #A62F62 #9EA62F #2FA673
split-complementary
#372FA6 #A6732F #62A62F
monochromatic
#171447 #272176 #372FA6 #5047CB #7D77D8

Accessibility & contrast

On white

9.91
#372FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#372FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA6
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA6#FFFFFF#000000##FFFFFF
##372FA61.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372fa6;
/* rgb */ color: rgb(55, 47, 166);
/* oklch */ color: oklch(40.0% 0.182 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d69c2',
    500: '#372fa6',
    950: '#000000',
  },
}
SCSS
$custom: #372fa6;
$custom-light: #7d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa6",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 244.034,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.18227,
    "h": 277.2
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#372FA6
secondary
#BBC170
accent
#DF49D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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