#372889#372889

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

Color values

HEX#372889
RGBrgb(55, 40, 137)
HSLhsl(249, 55%, 35%)
HSVhsv(249, 71%, 54%)
CMYKcmyk(59.9%, 70.8%, 0%, 46.3%)
CIE-LABlab(24.11, 35.15, -51.82)
CIE-LCHlch(24.11, 62.61, 304.15°)
OKLaboklab(36.09% 0.0334 -0.1492)
OKLCHoklch(36.09% 0.153 282.6)
XYZxyz(6.8483, 4.1355, 24.0994)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372889 #7A8928
analogous
#284A89 #372889 #672889
triadic
#372889 #893728 #288937
tetradic
#372889 #89284A #7A8928 #288967
square
#372889 #89284A #7A8928 #288967
split-complementary
#372889 #896728 #4A8928
monochromatic
#110C2A #241A5A #372889 #4A36B8 #6E5CCF

Accessibility & contrast

On white

11.49
#372889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372889
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372889#FFFFFF#000000##FFFFFF
##3728891.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#054255
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372889;
/* rgb */ color: rgb(55, 40, 137);
/* oklch */ color: oklch(36.1% 0.153 282.6);
Tailwind
colors: {
  custom: {
    50: '#7863ac',
    500: '#372889',
    950: '#000000',
  },
}
SCSS
$custom: #372889;
$custom-light: #7863ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372889",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 249.278,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36094,
    "c": 0.15289,
    "h": 282.6
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#372889
secondary
#A6B558
accent
#DE4AC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #372889

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

Preview Lab → · Contrast checker → · Palette generator →

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