#372F89#372F89

#372F89 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.144 H 280.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#372F89
RGBrgb(55, 47, 137)
HSLhsl(245, 49%, 36%)
HSVhsv(245, 66%, 54%)
CMYKcmyk(59.9%, 65.7%, 0%, 46.3%)
CIE-LABlab(25.72, 30.83, -49.20)
CIE-LCHlch(25.72, 58.06, 302.07°)
OKLaboklab(37.25% 0.027 -0.1415)
OKLCHoklch(37.25% 0.144 280.8)
XYZxyz(7.1060, 4.6509, 24.1853)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F89 #81892F
analogous
#2F5489 #372F89 #642F89
triadic
#372F89 #89372F #2F8937
tetradic
#372F89 #892F54 #81892F #2F8964
square
#372F89 #892F54 #81892F #2F8964
split-complementary
#372F89 #89642F #54892F
monochromatic
#12102E #251F5B #372F89 #493FB7 #7067CB

Accessibility & contrast

On white

10.88
#372F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#372F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F89
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F89#FFFFFF#000000##FFFFFF
##372F891.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#034657
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372f89;
/* rgb */ color: rgb(55, 47, 137);
/* oklch */ color: oklch(37.3% 0.144 280.8);
Tailwind
colors: {
  custom: {
    50: '#7768ac',
    500: '#372f89',
    950: '#000000',
  },
}
SCSS
$custom: #372f89;
$custom-light: #7768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372f89",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 245.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.14405,
    "h": 280.8
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#372F89
secondary
#ABB262
accent
#D84FCC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372F89

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

Preview Lab → · Contrast checker → · Palette generator →

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