#372987#372987

#372987 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.149 H 282.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#372987
RGBrgb(55, 41, 135)
HSLhsl(249, 53%, 35%)
HSVhsv(249, 70%, 53%)
CMYKcmyk(59.3%, 69.6%, 0%, 47.1%)
CIE-LABlab(24.15, 33.89, -50.51)
CIE-LCHlch(24.15, 60.83, 303.86°)
OKLaboklab(36.06% 0.0329 -0.1453)
OKLCHoklch(36.06% 0.149 282.7)
XYZxyz(6.7403, 4.1469, 23.3622)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372987 #798729
analogous
#294A87 #372987 #662987
triadic
#372987 #873729 #298737
tetradic
#372987 #87294A #798729 #298766
square
#372987 #87294A #798729 #298766
split-complementary
#372987 #876629 #4A8729
monochromatic
#110C29 #241B58 #372987 #4A37B6 #6E5DCE

Accessibility & contrast

On white

11.48
#372987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372987
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372987#FFFFFF#000000##FFFFFF
##3729871.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#0A4154
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372987;
/* rgb */ color: rgb(55, 41, 135);
/* oklch */ color: oklch(36.1% 0.149 282.7);
Tailwind
colors: {
  custom: {
    50: '#7764ab',
    500: '#372987',
    950: '#000000',
  },
}
SCSS
$custom: #372987;
$custom-light: #7764ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372987",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 248.936,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.14902,
    "h": 282.7
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#372987
secondary
#A6B359
accent
#DD4BC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372987

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

Preview Lab → · Contrast checker → · Palette generator →

#372987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva