#372497#372497

#372497 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 281.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#372497
RGBrgb(55, 36, 151)
HSLhsl(250, 61%, 37%)
HSVhsv(250, 76%, 59%)
CMYKcmyk(63.6%, 76.2%, 0%, 40.8%)
CIE-LABlab(24.66, 41.92, -59.59)
CIE-LCHlch(24.66, 72.85, 305.13°)
OKLaboklab(36.9% 0.0335 -0.1719)
OKLCHoklch(36.9% 0.175 281)
XYZxyz(7.7906, 4.3078, 29.6931)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372497 #849724
analogous
#244B97 #372497 #712497
triadic
#372497 #973724 #249737
tetradic
#372497 #97244B #849724 #249771
square
#372497 #97244B #849724 #249771
split-complementary
#372497 #977124 #4B9724
monochromatic
#130C34 #251866 #372497 #4930C8 #715DD8

Accessibility & contrast

On white

11.28
#372497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372497
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372497#FFFFFF#000000##FFFFFF
##3724971.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372497;
/* rgb */ color: rgb(55, 36, 151);
/* oklch */ color: oklch(36.9% 0.175 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b61b7',
    500: '#372497',
    950: '#000000',
  },
}
SCSS
$custom: #372497;
$custom-light: #7b61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372497",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 249.913,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.17514,
    "h": 281
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#372497
secondary
#ADBD5A
accent
#E543CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372497

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

Preview Lab → · Contrast checker → · Palette generator →

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