#372B89#372B89

#372B89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.149 H 281.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#372B89
RGBrgb(55, 43, 137)
HSLhsl(248, 52%, 35%)
HSVhsv(248, 69%, 54%)
CMYKcmyk(59.9%, 68.6%, 0%, 46.3%)
CIE-LABlab(24.78, 33.33, -50.72)
CIE-LCHlch(24.78, 60.69, 303.31°)
OKLaboklab(36.58% 0.0307 -0.146)
OKLCHoklch(36.58% 0.149 281.9)
XYZxyz(6.9534, 4.3457, 24.1344)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B89 #7D892B
analogous
#2B4E89 #372B89 #662B89
triadic
#372B89 #89372B #2B8937
tetradic
#372B89 #892B4E #7D892B #2B8966
square
#372B89 #892B4E #7D892B #2B8966
split-complementary
#372B89 #89662B #4E892B
monochromatic
#120E2C #241C5A #372B89 #4A3AB8 #6F61CD

Accessibility & contrast

On white

11.23
#372B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B89
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B89#FFFFFF#000000##FFFFFF
##372B891.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#054356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372b89;
/* rgb */ color: rgb(55, 43, 137);
/* oklch */ color: oklch(36.6% 0.149 281.9);
Tailwind
colors: {
  custom: {
    50: '#7765ac',
    500: '#372b89',
    950: '#000000',
  },
}
SCSS
$custom: #372b89;
$custom-light: #7765ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372b89",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 247.66,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36575,
    "c": 0.14919,
    "h": 281.9
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#372B89
secondary
#A8B35C
accent
#DC4CC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372B89

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

Preview Lab → · Contrast checker → · Palette generator →

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