#372FA4#372FA4

#372FA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.180 H 277.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#372FA4
RGBrgb(55, 47, 164)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 64%)
CMYKcmyk(66.5%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.18, 39.89, -61.73)
CIE-LCHlch(28.18, 73.50, 302.87°)
OKLaboklab(39.79% 0.0233 -0.1782)
OKLCHoklch(39.79% 0.18 277.4)
XYZxyz(9.2907, 5.5248, 35.6915)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA4 #9CA42F
analogous
#2F62A4 #372FA4 #722FA4
triadic
#372FA4 #A4372F #2FA437
tetradic
#372FA4 #A42F62 #9CA42F #2FA472
square
#372FA4 #A42F62 #9CA42F #2FA472
split-complementary
#372FA4 #A4722F #62A42F
monochromatic
#171445 #272174 #372FA4 #4F46CA #7C76D8

Accessibility & contrast

On white

9.98
#372FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372FA4
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA4#FFFFFF#000000##FFFFFF
##372FA41.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372fa4;
/* rgb */ color: rgb(55, 47, 164);
/* oklch */ color: oklch(39.8% 0.180 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c69c0',
    500: '#372fa4',
    950: '#000000',
  },
}
SCSS
$custom: #372fa4;
$custom-light: #7c69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa4",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 244.103,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.17973,
    "h": 277.4
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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