#372C88#372C88

#372C88 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.147 H 281.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#372C88
RGBrgb(55, 44, 136)
HSLhsl(247, 51%, 35%)
HSVhsv(247, 68%, 53%)
CMYKcmyk(59.6%, 67.6%, 0%, 46.7%)
CIE-LABlab(24.92, 32.38, -49.87)
CIE-LCHlch(24.92, 59.46, 302.99°)
OKLaboklab(36.65% 0.0299 -0.1435)
OKLCHoklch(36.65% 0.147 281.8)
XYZxyz(6.9188, 4.3907, 23.7707)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C88 #7D882C
analogous
#2C4F88 #372C88 #652C88
triadic
#372C88 #88372C #2C8837
tetradic
#372C88 #882C4F #7D882C #2C8865
square
#372C88 #882C4F #7D882C #2C8865
split-complementary
#372C88 #88652C #4F882C
monochromatic
#120E2C #241D5A #372C88 #4A3BB6 #6F62CC

Accessibility & contrast

On white

11.18
#372C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#372C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C88
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C88#FFFFFF#000000##FFFFFF
##372C881.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#074356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372c88;
/* rgb */ color: rgb(55, 44, 136);
/* oklch */ color: oklch(36.6% 0.147 281.8);
Tailwind
colors: {
  custom: {
    50: '#7766ac',
    500: '#372c88',
    950: '#000000',
  },
}
SCSS
$custom: #372c88;
$custom-light: #7766ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372c88",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 247.174,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.14657,
    "h": 281.8
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#372C88
secondary
#A8B35D
accent
#DB4DCA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372C88

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

Preview Lab → · Contrast checker → · Palette generator →

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