#372884#372884

#372884 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.146 H 283.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#372884
RGBrgb(55, 40, 132)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 70%, 52%)
CMYKcmyk(58.3%, 69.7%, 0%, 48.2%)
CIE-LABlab(23.66, 33.52, -49.44)
CIE-LCHlch(23.66, 59.73, 304.14°)
OKLaboklab(35.62% 0.0343 -0.1422)
OKLCHoklch(35.62% 0.146 283.5)
XYZxyz(6.4979, 3.9954, 22.2541)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372884 #758428
analogous
#284784 #372884 #652884
triadic
#372884 #843728 #288437
tetradic
#372884 #842847 #758428 #288465
square
#372884 #842847 #758428 #288465
split-complementary
#372884 #846528 #478428
monochromatic
#100C26 #231A55 #372884 #4B36B3 #6C5ACD

Accessibility & contrast

On white

11.67
#372884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#372884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372884
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372884#FFFFFF#000000##FFFFFF
##3728841.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#104052
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372884;
/* rgb */ color: rgb(55, 40, 132);
/* oklch */ color: oklch(35.6% 0.146 283.5);
Tailwind
colors: {
  custom: {
    50: '#7763a9',
    500: '#372884',
    950: '#000000',
  },
}
SCSS
$custom: #372884;
$custom-light: #7763a9;
$custom-dark: #000000;
JSON
{
  "hex": "#372884",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 249.783,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.14628,
    "h": 283.5
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#372884
secondary
#A3B256
accent
#DD4BC5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372884

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

Preview Lab → · Contrast checker → · Palette generator →

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