#372891#372891

#372891 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.163 H 281.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#372891
RGBrgb(55, 40, 145)
HSLhsl(249, 57%, 36%)
HSVhsv(249, 72%, 57%)
CMYKcmyk(62.1%, 72.4%, 0%, 43.1%)
CIE-LABlab(24.87, 37.76, -55.55)
CIE-LCHlch(24.87, 67.16, 304.20°)
OKLaboklab(36.87% 0.032 -0.1601)
OKLCHoklch(36.87% 0.163 281.3)
XYZxyz(7.4436, 4.3736, 27.2345)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372891 #829128
analogous
#284E91 #372891 #6C2891
triadic
#372891 #913728 #289137
tetradic
#372891 #91284E #829128 #28916C
square
#372891 #91284E #829128 #28916C
split-complementary
#372891 #916C28 #4E9128
monochromatic
#130E31 #251B61 #372891 #4935C1 #7160D3

Accessibility & contrast

On white

11.20
#372891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372891
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372891#FFFFFF#000000##FFFFFF
##3728911.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372891;
/* rgb */ color: rgb(55, 40, 145);
/* oklch */ color: oklch(36.9% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#7964b2',
    500: '#372891',
    950: '#000000',
  },
}
SCSS
$custom: #372891;
$custom-light: #7964b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372891",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 248.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.16328,
    "h": 281.3
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#372891
secondary
#ABB95C
accent
#E048CA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372891

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

Preview Lab → · Contrast checker → · Palette generator →

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