#372894#372894

#372894 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.167 H 280.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#372894
RGBrgb(55, 40, 148)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 73%, 58%)
CMYKcmyk(62.8%, 73%, 0%, 42%)
CIE-LABlab(25.16, 38.73, -56.92)
CIE-LCHlch(25.16, 68.85, 304.23°)
OKLaboklab(37.16% 0.0314 -0.1641)
OKLCHoklch(37.16% 0.167 280.8)
XYZxyz(7.6779, 4.4674, 28.4689)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372894 #859428
analogous
#284F94 #372894 #6D2894
triadic
#372894 #943728 #289437
tetradic
#372894 #94284F #859428 #28946D
square
#372894 #94284F #859428 #28946D
split-complementary
#372894 #946D28 #4F9428
monochromatic
#130E34 #251B64 #372894 #4935C4 #7262D5

Accessibility & contrast

On white

11.09
#372894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#372894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372894
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372894#FFFFFF#000000##FFFFFF
##3728941.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372894;
/* rgb */ color: rgb(55, 40, 148);
/* oklch */ color: oklch(37.2% 0.167 280.8);
Tailwind
colors: {
  custom: {
    50: '#7a64b4',
    500: '#372894',
    950: '#000000',
  },
}
SCSS
$custom: #372894;
$custom-light: #7a64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#372894",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 248.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.16712,
    "h": 280.8
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#372894
secondary
#ADBA5E
accent
#E147CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372894

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

Preview Lab → · Contrast checker → · Palette generator →

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