#372FA5#372FA5

#372FA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.181 H 277.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#372FA5
RGBrgb(55, 47, 165)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(66.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.28, 40.22, -62.17)
CIE-LCHlch(28.28, 74.05, 302.90°)
OKLaboklab(39.89% 0.0231 -0.1795)
OKLCHoklch(39.89% 0.181 277.3)
XYZxyz(9.3814, 5.5611, 36.1690)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA5 #9DA52F
analogous
#2F62A5 #372FA5 #722FA5
triadic
#372FA5 #A5372F #2FA537
tetradic
#372FA5 #A52F62 #9DA52F #2FA572
square
#372FA5 #A52F62 #9DA52F #2FA572
split-complementary
#372FA5 #A5722F #62A52F
monochromatic
#171446 #272175 #372FA5 #5047CB #7D76D8

Accessibility & contrast

On white

9.94
#372FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#372FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA5
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA5#FFFFFF#000000##FFFFFF
##372FA51.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372fa5;
/* rgb */ color: rgb(55, 47, 165);
/* oklch */ color: oklch(39.9% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d69c1',
    500: '#372fa5',
    950: '#000000',
  },
}
SCSS
$custom: #372fa5;
$custom-light: #7d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa5",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 244.068,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.181,
    "h": 277.3
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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