#372B9E#372B9E

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

Color values

HEX#372B9E
RGBrgb(55, 43, 158)
HSLhsl(246, 57%, 39%)
HSVhsv(246, 73%, 62%)
CMYKcmyk(65.2%, 72.8%, 0%, 38%)
CIE-LABlab(26.76, 40.25, -60.43)
CIE-LCHlch(26.76, 72.60, 303.67°)
OKLaboklab(38.59% 0.0272 -0.1744)
OKLCHoklch(38.59% 0.177 278.9)
XYZxyz(8.6090, 5.0079, 32.8541)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B9E #929E2B
analogous
#2B599E #372B9E #712B9E
triadic
#372B9E #9E372B #2B9E37
tetradic
#372B9E #9E2B59 #929E2B #2B9E71
square
#372B9E #9E2B59 #929E2B #2B9E71
split-complementary
#372B9E #9E712B #599E2B
monochromatic
#16113E #261E6E #372B9E #4B3CCA #776CD7

Accessibility & contrast

On white

10.49
#372B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#372B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B9E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B9E#FFFFFF#000000##FFFFFF
##372B9E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372b9e;
/* rgb */ color: rgb(55, 43, 158);
/* oklch */ color: oklch(38.6% 0.176 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b66bc',
    500: '#372b9e',
    950: '#000000',
  },
}
SCSS
$custom: #372b9e;
$custom-light: #7b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372b9e",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 246.261,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.1765,
    "h": 278.9
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#372B9E
secondary
#B5BE67
accent
#E047D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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