#372C9D#372C9D

#372C9D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.174 H 278.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#372C9D
RGBrgb(55, 44, 157)
HSLhsl(246, 56%, 39%)
HSVhsv(246, 72%, 62%)
CMYKcmyk(65%, 72%, 0%, 38.4%)
CIE-LABlab(26.87, 39.34, -59.63)
CIE-LCHlch(26.87, 71.44, 303.41°)
OKLaboklab(38.64% 0.0266 -0.1721)
OKLCHoklch(38.64% 0.174 278.8)
XYZxyz(8.5601, 5.0472, 32.4149)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C9D #929D2C
analogous
#2C599D #372C9D #702C9D
triadic
#372C9D #9D372C #2C9D37
tetradic
#372C9D #9D2C59 #929D2C #2C9D70
square
#372C9D #9D2C59 #929D2C #2C9D70
split-complementary
#372C9D #9D702C #599D2C
monochromatic
#16113D #261F6D #372C9D #4B3DC9 #776DD6

Accessibility & contrast

On white

10.45
#372C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372C9D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C9D#FFFFFF#000000##FFFFFF
##372C9D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372c9d;
/* rgb */ color: rgb(55, 44, 157);
/* oklch */ color: oklch(38.6% 0.174 278.8);
Tailwind
colors: {
  custom: {
    50: '#7b67bb',
    500: '#372c9d',
    950: '#000000',
  },
}
SCSS
$custom: #372c9d;
$custom-light: #7b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372c9d",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 245.841,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.17413,
    "h": 278.8
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#372C9D
secondary
#B5BD68
accent
#E048D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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