#372F91#372F91

#372F91 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.155 H 279.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#372F91
RGBrgb(55, 47, 145)
HSLhsl(245, 51%, 38%)
HSVhsv(245, 68%, 57%)
CMYKcmyk(62.1%, 67.6%, 0%, 43.1%)
CIE-LABlab(26.42, 33.53, -53.01)
CIE-LCHlch(26.42, 62.73, 302.31°)
OKLaboklab(37.98% 0.0261 -0.1527)
OKLCHoklch(37.98% 0.155 279.7)
XYZxyz(7.7013, 4.8890, 27.3204)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F91 #89912F
analogous
#2F5891 #372F91 #682F91
triadic
#372F91 #91372F #2F9137
tetradic
#372F91 #912F58 #89912F #2F9168
square
#372F91 #912F58 #89912F #2F9168
split-complementary
#372F91 #91682F #58912F
monochromatic
#141135 #252063 #372F91 #493EBF #736BCF

Accessibility & contrast

On white

10.62
#372F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#372F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F91
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F91#FFFFFF#000000##FFFFFF
##372F911.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372f91;
/* rgb */ color: rgb(55, 47, 145);
/* oklch */ color: oklch(38.0% 0.155 279.7);
Tailwind
colors: {
  custom: {
    50: '#7968b2',
    500: '#372f91',
    950: '#000000',
  },
}
SCSS
$custom: #372f91;
$custom-light: #7968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372f91",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 244.898,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37977,
    "c": 0.15492,
    "h": 279.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#372F91
secondary
#B0B665
accent
#DB4DCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F91

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

Preview Lab → · Contrast checker → · Palette generator →

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