#372B99#372B99

#372B99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.170 H 279.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#372B99
RGBrgb(55, 43, 153)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 60%)
CMYKcmyk(64.1%, 71.9%, 0%, 40%)
CIE-LABlab(26.27, 38.61, -58.17)
CIE-LCHlch(26.27, 69.82, 303.58°)
OKLaboklab(38.1% 0.0281 -0.1678)
OKLCHoklch(38.1% 0.17 279.5)
XYZxyz(8.1874, 4.8393, 30.6334)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B99 #8D992B
analogous
#2B5699 #372B99 #6E2B99
triadic
#372B99 #99372B #2B9937
tetradic
#372B99 #992B56 #8D992B #2B996E
square
#372B99 #992B56 #8D992B #2B996E
split-complementary
#372B99 #996E2B #56992B
monochromatic
#151039 #261E69 #372B99 #493AC8 #7569D5

Accessibility & contrast

On white

10.67
#372B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#372B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B99
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B99#FFFFFF#000000##FFFFFF
##372B991.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372b99;
/* rgb */ color: rgb(55, 43, 153);
/* oklch */ color: oklch(38.1% 0.170 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a66b8',
    500: '#372b99',
    950: '#000000',
  },
}
SCSS
$custom: #372b99;
$custom-light: #7a66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372b99",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 246.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.381,
    "c": 0.17014,
    "h": 279.5
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#372B99
secondary
#B2BC64
accent
#DF48CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372B99

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

Preview Lab → · Contrast checker → · Palette generator →

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