#372893#372893

#372893 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.166 H 281.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#372893
RGBrgb(55, 40, 147)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 73%, 58%)
CMYKcmyk(62.6%, 72.8%, 0%, 42.4%)
CIE-LABlab(25.06, 38.40, -56.47)
CIE-LCHlch(25.06, 68.29, 304.22°)
OKLaboklab(37.06% 0.0316 -0.1628)
OKLCHoklch(37.06% 0.166 281)
XYZxyz(7.5991, 4.4358, 28.0539)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372893 #849328
analogous
#284F93 #372893 #6D2893
triadic
#372893 #933728 #289337
tetradic
#372893 #93284F #849328 #28936D
square
#372893 #93284F #849328 #28936D
split-complementary
#372893 #936D28 #4F9328
monochromatic
#130E33 #251B63 #372893 #4935C3 #7161D4

Accessibility & contrast

On white

11.13
#372893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372893
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372893#FFFFFF#000000##FFFFFF
##3728931.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372893;
/* rgb */ color: rgb(55, 40, 147);
/* oklch */ color: oklch(37.1% 0.166 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a64b4',
    500: '#372893',
    950: '#000000',
  },
}
SCSS
$custom: #372893;
$custom-light: #7a64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#372893",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 248.411,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37062,
    "c": 0.16584,
    "h": 281
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#372893
secondary
#ADBA5D
accent
#E047CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372893

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

Preview Lab → · Contrast checker → · Palette generator →

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