#372BA5#372BA5

#372BA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.185 H 278.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#372BA5
RGBrgb(55, 43, 165)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(66.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(27.45, 42.52, -63.53)
CIE-LCHlch(27.45, 76.45, 303.79°)
OKLaboklab(39.3% 0.0258 -0.1835)
OKLCHoklch(39.3% 0.185 278)
XYZxyz(9.2288, 5.2558, 36.1181)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA5 #99A52B
analogous
#2B5CA5 #372BA5 #742BA5
triadic
#372BA5 #A5372B #2BA537
tetradic
#372BA5 #A52B5C #99A52B #2BA574
square
#372BA5 #A52B5C #99A52B #2BA574
split-complementary
#372BA5 #A5742B #5CA52B
monochromatic
#171244 #271E74 #372BA5 #4E40CD #7B71DA

Accessibility & contrast

On white

10.24
#372BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#372BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA5
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA5#FFFFFF#000000##FFFFFF
##372BA51.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ba5;
/* rgb */ color: rgb(55, 43, 165);
/* oklch */ color: oklch(39.3% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d66c1',
    500: '#372ba5',
    950: '#000000',
  },
}
SCSS
$custom: #372ba5;
$custom-light: #7d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba5",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 245.902,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.18527,
    "h": 278
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#372BA5
secondary
#B9C16B
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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