#372D9E#372D9E

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

Color values

HEX#372D9E
RGBrgb(55, 45, 158)
HSLhsl(245, 56%, 40%)
HSVhsv(245, 72%, 62%)
CMYKcmyk(65.2%, 71.5%, 0%, 38%)
CIE-LABlab(27.18, 39.08, -59.73)
CIE-LCHlch(27.18, 71.39, 303.20°)
OKLaboklab(38.89% 0.0257 -0.1724)
OKLCHoklch(38.89% 0.174 278.5)
XYZxyz(8.6835, 5.1569, 32.8789)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D9E #949E2D
analogous
#2D5B9E #372D9E #702D9E
triadic
#372D9E #9E372D #2D9E37
tetradic
#372D9E #9E2D5B #949E2D #2D9E70
square
#372D9E #9E2D5B #949E2D #2D9E70
split-complementary
#372D9E #9E702D #5B9E2D
monochromatic
#16123F #261F6E #372D9E #4C40C9 #786FD6

Accessibility & contrast

On white

10.34
#372D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#372D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D9E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D9E#FFFFFF#000000##FFFFFF
##372D9E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372d9e;
/* rgb */ color: rgb(55, 45, 158);
/* oklch */ color: oklch(38.9% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b67bc',
    500: '#372d9e',
    950: '#000000',
  },
}
SCSS
$custom: #372d9e;
$custom-light: #7b67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372d9e",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 245.31,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.1743,
    "h": 278.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#372D9E
secondary
#B6BD69
accent
#DF49D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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