#372D9B#372D9B

#372D9B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.170 H 278.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#372D9B
RGBrgb(55, 45, 155)
HSLhsl(245, 55%, 39%)
HSVhsv(245, 71%, 61%)
CMYKcmyk(64.5%, 71%, 0%, 39.2%)
CIE-LABlab(26.89, 38.09, -58.38)
CIE-LCHlch(26.89, 69.71, 303.13°)
OKLaboklab(38.6% 0.0263 -0.1684)
OKLCHoklch(38.6% 0.17 278.9)
XYZxyz(8.4284, 5.0549, 31.5355)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D9B #919B2D
analogous
#2D5A9B #372D9B #6E2D9B
triadic
#372D9B #9B372D #2D9B37
tetradic
#372D9B #9B2D5A #919B2D #2D9B6E
square
#372D9B #9B2D5A #919B2D #2D9B6E
split-complementary
#372D9B #9B6E2D #5A9B2D
monochromatic
#15113C #261F6C #372D9B #4B3EC7 #776ED5

Accessibility & contrast

On white

10.44
#372D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#372D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D9B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D9B#FFFFFF#000000##FFFFFF
##372D9B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372d9b;
/* rgb */ color: rgb(55, 45, 155);
/* oklch */ color: oklch(38.6% 0.170 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b67ba',
    500: '#372d9b',
    950: '#000000',
  },
}
SCSS
$custom: #372d9b;
$custom-light: #7b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372d9b",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 245.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.17045,
    "h": 278.9
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#372D9B
secondary
#B4BC68
accent
#DE49D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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