#372BA7#372BA7

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

Color values

HEX#372BA7
RGBrgb(55, 43, 167)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(67.1%, 74.3%, 0%, 34.5%)
CIE-LABlab(27.65, 43.17, -64.41)
CIE-LCHlch(27.65, 77.53, 303.83°)
OKLaboklab(39.5% 0.0253 -0.186)
OKLCHoklch(39.5% 0.188 277.8)
XYZxyz(9.4122, 5.3292, 37.0844)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA7 #9BA72B
analogous
#2B5DA7 #372BA7 #752BA7
triadic
#372BA7 #A7372B #2BA737
tetradic
#372BA7 #A72B5D #9BA72B #2BA775
square
#372BA7 #A72B5D #9BA72B #2BA775
split-complementary
#372BA7 #A7752B #5DA72B
monochromatic
#171246 #271E76 #372BA7 #4F41CE #7C72DB

Accessibility & contrast

On white

10.16
#372BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#372BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA7
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA7#FFFFFF#000000##FFFFFF
##372BA71.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ba7;
/* rgb */ color: rgb(55, 43, 167);
/* oklch */ color: oklch(39.5% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#372ba7',
    950: '#000000',
  },
}
SCSS
$custom: #372ba7;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba7",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 245.806,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.395,
    "c": 0.18775,
    "h": 277.8
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#372BA7
secondary
#BAC26C
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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