#372D9D#372D9D

#372D9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.173 H 278.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#372D9D
RGBrgb(55, 45, 157)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 62%)
CMYKcmyk(65%, 71.3%, 0%, 38.4%)
CIE-LABlab(27.08, 38.76, -59.28)
CIE-LCHlch(27.08, 70.83, 303.17°)
OKLaboklab(38.8% 0.0259 -0.1711)
OKLCHoklch(38.8% 0.173 278.6)
XYZxyz(8.5978, 5.1226, 32.4274)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D9D #939D2D
analogous
#2D5B9D #372D9D #6F2D9D
triadic
#372D9D #9D372D #2D9D37
tetradic
#372D9D #9D2D5B #939D2D #2D9D6F
square
#372D9D #9D2D5B #939D2D #2D9D6F
split-complementary
#372D9D #9D6F2D #5B9D2D
monochromatic
#16123E #261F6D #372D9D #4B3FC8 #786FD6

Accessibility & contrast

On white

10.37
#372D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372D9D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D9D#FFFFFF#000000##FFFFFF
##372D9D1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372d9d;
/* rgb */ color: rgb(55, 45, 157);
/* oklch */ color: oklch(38.8% 0.173 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b67bb',
    500: '#372d9d',
    950: '#000000',
  },
}
SCSS
$custom: #372d9d;
$custom-light: #7b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372d9d",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 245.357,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.17302,
    "h": 278.6
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#372D9D
secondary
#B5BD69
accent
#DF49D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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