#372FA2#372FA2

#372FA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.177 H 277.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#372FA2
RGBrgb(55, 47, 162)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 64%)
CMYKcmyk(66%, 71%, 0%, 36.5%)
CIE-LABlab(27.99, 39.23, -60.83)
CIE-LCHlch(27.99, 72.38, 302.82°)
OKLaboklab(39.59% 0.0236 -0.1756)
OKLCHoklch(39.59% 0.177 277.7)
XYZxyz(9.1115, 5.4531, 34.7478)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA2 #9AA22F
analogous
#2F60A2 #372FA2 #702FA2
triadic
#372FA2 #A2372F #2FA237
tetradic
#372FA2 #A22F60 #9AA22F #2FA270
square
#372FA2 #A22F60 #9AA22F #2FA270
split-complementary
#372FA2 #A2702F #60A22F
monochromatic
#171343 #272173 #372FA2 #4E45C9 #7B75D7

Accessibility & contrast

On white

10.04
#372FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#372FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA2#FFFFFF#000000##FFFFFF
##372FA21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372fa2;
/* rgb */ color: rgb(55, 47, 162);
/* oklch */ color: oklch(39.6% 0.177 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c69bf',
    500: '#372fa2',
    950: '#000000',
  },
}
SCSS
$custom: #372fa2;
$custom-light: #7c69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa2",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 244.174,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.17718,
    "h": 277.7
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#372FA2
secondary
#B9BF6E
accent
#DE49D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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