#372C94#372C94

#372C94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.163 H 280.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#372C94
RGBrgb(55, 44, 148)
HSLhsl(246, 54%, 38%)
HSVhsv(246, 70%, 58%)
CMYKcmyk(62.8%, 70.3%, 0%, 42%)
CIE-LABlab(26.01, 36.37, -55.52)
CIE-LCHlch(26.01, 66.38, 303.23°)
OKLaboklab(37.77% 0.0282 -0.1601)
OKLCHoklch(37.77% 0.163 280)
XYZxyz(7.8198, 4.7511, 28.5162)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C94 #89942C
analogous
#2C5594 #372C94 #6B2C94
triadic
#372C94 #94372C #2C9437
tetradic
#372C94 #942C55 #89942C #2C946B
square
#372C94 #942C55 #89942C #2C946B
split-complementary
#372C94 #946B2C #55942C
monochromatic
#141036 #251E65 #372C94 #493AC3 #7368D2

Accessibility & contrast

On white

10.77
#372C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#372C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C94
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C94#FFFFFF#000000##FFFFFF
##372C941.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372c94;
/* rgb */ color: rgb(55, 44, 148);
/* oklch */ color: oklch(37.8% 0.163 280.0);
Tailwind
colors: {
  custom: {
    50: '#7966b4',
    500: '#372c94',
    950: '#000000',
  },
}
SCSS
$custom: #372c94;
$custom-light: #7966b4;
$custom-dark: #000000;
JSON
{
  "hex": "#372c94",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 246.346,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.16253,
    "h": 280
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#372C94
secondary
#B0B963
accent
#DE4ACE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C94

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

Preview Lab → · Contrast checker → · Palette generator →

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