#372FA3#372FA3

#372FA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.178 H 277.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#372FA3
RGBrgb(55, 47, 163)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 64%)
CMYKcmyk(66.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.08, 39.56, -61.28)
CIE-LCHlch(28.08, 72.94, 302.85°)
OKLaboklab(39.69% 0.0234 -0.1769)
OKLCHoklch(39.69% 0.178 277.5)
XYZxyz(9.2008, 5.4888, 35.2178)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA3 #9BA32F
analogous
#2F61A3 #372FA3 #712FA3
triadic
#372FA3 #A3372F #2FA337
tetradic
#372FA3 #A32F61 #9BA32F #2FA371
square
#372FA3 #A32F61 #9BA32F #2FA371
split-complementary
#372FA3 #A3712F #61A32F
monochromatic
#171444 #272173 #372FA3 #4F46CA #7C75D7

Accessibility & contrast

On white

10.01
#372FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#372FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA3
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA3#FFFFFF#000000##FFFFFF
##372FA31.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372fa3;
/* rgb */ color: rgb(55, 47, 163);
/* oklch */ color: oklch(39.7% 0.178 277.5);
Tailwind
colors: {
  custom: {
    50: '#7c69bf',
    500: '#372fa3',
    950: '#000000',
  },
}
SCSS
$custom: #372fa3;
$custom-light: #7c69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa3",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 244.138,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.17846,
    "h": 277.5
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#372FA3
secondary
#BABF6F
accent
#DF49D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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