#372E89#372E89

#372E89 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.145 H 281.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#372E89
RGBrgb(55, 46, 137)
HSLhsl(246, 50%, 36%)
HSVhsv(246, 66%, 54%)
CMYKcmyk(59.9%, 66.4%, 0%, 46.3%)
CIE-LABlab(25.48, 31.46, -49.59)
CIE-LCHlch(25.48, 58.72, 302.39°)
OKLaboklab(37.08% 0.0279 -0.1426)
OKLCHoklch(37.08% 0.145 281.1)
XYZxyz(7.0665, 4.5719, 24.1722)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E89 #80892E
analogous
#2E5289 #372E89 #642E89
triadic
#372E89 #89372E #2E8937
tetradic
#372E89 #892E52 #80892E #2E8964
square
#372E89 #892E52 #80892E #2E8964
split-complementary
#372E89 #89642E #52892E
monochromatic
#120F2D #251F5B #372E89 #493DB7 #7066CC

Accessibility & contrast

On white

10.97
#372E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#372E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E89
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E89#FFFFFF#000000##FFFFFF
##372E891.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#044557
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372e89;
/* rgb */ color: rgb(55, 46, 137);
/* oklch */ color: oklch(37.1% 0.145 281.1);
Tailwind
colors: {
  custom: {
    50: '#7767ac',
    500: '#372e89',
    950: '#000000',
  },
}
SCSS
$custom: #372e89;
$custom-light: #7767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372e89",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 245.934,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37079,
    "c": 0.14536,
    "h": 281.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#372E89
secondary
#AAB260
accent
#D94FCC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372E89

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

Preview Lab → · Contrast checker → · Palette generator →

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