#372FA7#372FA7

#372FA7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.184 H 277.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#372FA7
RGBrgb(55, 47, 167)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.47, 40.88, -63.06)
CIE-LCHlch(28.47, 75.15, 302.96°)
OKLaboklab(40.08% 0.0228 -0.1821)
OKLCHoklch(40.08% 0.184 277.1)
XYZxyz(9.5648, 5.6345, 37.1352)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA7 #9FA72F
analogous
#2F63A7 #372FA7 #732FA7
triadic
#372FA7 #A7372F #2FA737
tetradic
#372FA7 #A72F63 #9FA72F #2FA773
square
#372FA7 #A72F63 #9FA72F #2FA773
split-complementary
#372FA7 #A7732F #63A72F
monochromatic
#181447 #272277 #372FA7 #5148CB #7E78D9

Accessibility & contrast

On white

9.87
#372FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#372FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA7
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA7#FFFFFF#000000##FFFFFF
##372FA71.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372fa7;
/* rgb */ color: rgb(55, 47, 167);
/* oklch */ color: oklch(40.1% 0.184 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d69c2',
    500: '#372fa7',
    950: '#000000',
  },
}
SCSS
$custom: #372fa7;
$custom-light: #7d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa7",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 244,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.18354,
    "h": 277.1
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#372FA7
secondary
#BCC171
accent
#DF48D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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