#372FA1#372FA1

#372FA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.176 H 277.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#372FA1
RGBrgb(55, 47, 161)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 63%)
CMYKcmyk(65.8%, 70.8%, 0%, 36.9%)
CIE-LABlab(27.89, 38.90, -60.38)
CIE-LCHlch(27.89, 71.83, 302.79°)
OKLaboklab(39.49% 0.0238 -0.1743)
OKLCHoklch(39.49% 0.176 277.8)
XYZxyz(9.0230, 5.4177, 34.2815)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA1 #99A12F
analogous
#2F60A1 #372FA1 #702FA1
triadic
#372FA1 #A1372F #2FA137
tetradic
#372FA1 #A12F60 #99A12F #2FA170
square
#372FA1 #A12F60 #99A12F #2FA170
split-complementary
#372FA1 #A1702F #60A12F
monochromatic
#171342 #272172 #372FA1 #4E45C9 #7B74D6

Accessibility & contrast

On white

10.08
#372FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#372FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA1
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA1#FFFFFF#000000##FFFFFF
##372FA11.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372fa1;
/* rgb */ color: rgb(55, 47, 161);
/* oklch */ color: oklch(39.5% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c69be',
    500: '#372fa1',
    950: '#000000',
  },
}
SCSS
$custom: #372fa1;
$custom-light: #7c69be;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa1",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 244.211,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.17589,
    "h": 277.8
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#372FA1
secondary
#B9BE6E
accent
#DE4AD4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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