#372F87#372F87

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

Color values

HEX#372F87
RGBrgb(55, 47, 135)
HSLhsl(245, 48%, 36%)
HSVhsv(245, 65%, 53%)
CMYKcmyk(59.3%, 65.2%, 0%, 47.1%)
CIE-LABlab(25.55, 30.15, -48.23)
CIE-LCHlch(25.55, 56.88, 302.01°)
OKLaboklab(37.07% 0.0272 -0.1387)
OKLCHoklch(37.07% 0.141 281.1)
XYZxyz(6.9639, 4.5941, 23.4368)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F87 #7F872F
analogous
#2F5387 #372F87 #632F87
triadic
#372F87 #87372F #2F8737
tetradic
#372F87 #872F53 #7F872F #2F8763
square
#372F87 #872F53 #7F872F #2F8763
split-complementary
#372F87 #87632F #53872F
monochromatic
#120F2C #251F5A #372F87 #493FB4 #7066CA

Accessibility & contrast

On white

10.94
#372F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#372F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F87
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F87#FFFFFF#000000##FFFFFF
##372F871.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#084556
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372f87;
/* rgb */ color: rgb(55, 47, 135);
/* oklch */ color: oklch(37.1% 0.141 281.1);
Tailwind
colors: {
  custom: {
    50: '#7768ab',
    500: '#372f87',
    950: '#000000',
  },
}
SCSS
$custom: #372f87;
$custom-light: #7768ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372f87",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 245.455,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.14129,
    "h": 281.1
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#372F87
secondary
#AAB161
accent
#D850CC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372F87

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

Preview Lab → · Contrast checker → · Palette generator →

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