#372D89#372D89

#372D89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.147 H 281.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#372D89
RGBrgb(55, 45, 137)
HSLhsl(247, 51%, 36%)
HSVhsv(247, 67%, 54%)
CMYKcmyk(59.9%, 67.2%, 0%, 46.3%)
CIE-LABlab(25.24, 32.09, -49.97)
CIE-LCHlch(25.24, 59.38, 302.71°)
OKLaboklab(36.91% 0.0289 -0.1438)
OKLCHoklch(36.91% 0.147 281.4)
XYZxyz(7.0279, 4.4947, 24.1593)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D89 #7F892D
analogous
#2D5189 #372D89 #652D89
triadic
#372D89 #89372D #2D8937
tetradic
#372D89 #892D51 #7F892D #2D8965
square
#372D89 #892D51 #7F892D #2D8965
split-complementary
#372D89 #89652D #51892D
monochromatic
#120F2D #251E5B #372D89 #493CB7 #7064CC

Accessibility & contrast

On white

11.06
#372D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D89
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D89#FFFFFF#000000##FFFFFF
##372D891.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#044457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372d89;
/* rgb */ color: rgb(55, 45, 137);
/* oklch */ color: oklch(36.9% 0.147 281.4);
Tailwind
colors: {
  custom: {
    50: '#7767ac',
    500: '#372d89',
    950: '#000000',
  },
}
SCSS
$custom: #372d89;
$custom-light: #7767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372d89",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 246.522,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36908,
    "c": 0.14664,
    "h": 281.4
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#372D89
secondary
#AAB35F
accent
#DA4ECB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372D89

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

Preview Lab → · Contrast checker → · Palette generator →

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