#372890#372890

#372890 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.162 H 281.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#372890
RGBrgb(55, 40, 144)
HSLhsl(249, 57%, 36%)
HSVhsv(249, 72%, 56%)
CMYKcmyk(61.8%, 72.2%, 0%, 43.5%)
CIE-LABlab(24.77, 37.43, -55.09)
CIE-LCHlch(24.77, 66.60, 304.20°)
OKLaboklab(36.77% 0.0321 -0.1588)
OKLCHoklch(36.77% 0.162 281.4)
XYZxyz(7.3668, 4.3429, 26.8302)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372890 #819028
analogous
#284D90 #372890 #6B2890
triadic
#372890 #903728 #289037
tetradic
#372890 #90284D #819028 #28906B
square
#372890 #90284D #819028 #28906B
split-complementary
#372890 #906B28 #4D9028
monochromatic
#120D30 #251B60 #372890 #4935C0 #7060D3

Accessibility & contrast

On white

11.24
#372890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372890
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372890#FFFFFF#000000##FFFFFF
##3728901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372890;
/* rgb */ color: rgb(55, 40, 144);
/* oklch */ color: oklch(36.8% 0.162 281.4);
Tailwind
colors: {
  custom: {
    50: '#7964b1',
    500: '#372890',
    950: '#000000',
  },
}
SCSS
$custom: #372890;
$custom-light: #7964b1;
$custom-dark: #000000;
JSON
{
  "hex": "#372890",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 248.654,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.16199,
    "h": 281.4
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372890

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

Preview Lab → · Contrast checker → · Palette generator →

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