#372BA1#372BA1

#372BA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.180 H 278.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#372BA1
RGBrgb(55, 43, 161)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 73%, 63%)
CMYKcmyk(65.8%, 73.3%, 0%, 36.9%)
CIE-LABlab(27.05, 41.22, -61.76)
CIE-LCHlch(27.05, 74.26, 303.72°)
OKLaboklab(38.89% 0.0266 -0.1783)
OKLCHoklch(38.89% 0.18 278.5)
XYZxyz(8.8704, 5.1125, 34.2307)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA1 #95A12B
analogous
#2B5AA1 #372BA1 #722BA1
triadic
#372BA1 #A1372B #2BA137
tetradic
#372BA1 #A12B5A #95A12B #2BA172
square
#372BA1 #A12B5A #95A12B #2BA172
split-complementary
#372BA1 #A1722B #5AA12B
monochromatic
#161140 #271E71 #372BA1 #4C3ECB #796ED8

Accessibility & contrast

On white

10.38
#372BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA1
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA1#FFFFFF#000000##FFFFFF
##372BA11.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372ba1;
/* rgb */ color: rgb(55, 43, 161);
/* oklch */ color: oklch(38.9% 0.180 278.5);
Tailwind
colors: {
  custom: {
    50: '#7c66be',
    500: '#372ba1',
    950: '#000000',
  },
}
SCSS
$custom: #372ba1;
$custom-light: #7c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba1",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 246.102,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.18028,
    "h": 278.5
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#372BA1
secondary
#B6BF69
accent
#E147D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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