#372498#372498

#372498 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.176 H 280.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#372498
RGBrgb(55, 36, 152)
HSLhsl(250, 62%, 37%)
HSVhsv(250, 76%, 60%)
CMYKcmyk(63.8%, 76.3%, 0%, 40.4%)
CIE-LABlab(24.77, 42.23, -60.03)
CIE-LCHlch(24.77, 73.40, 305.13°)
OKLaboklab(37% 0.0333 -0.1732)
OKLCHoklch(37% 0.176 280.9)
XYZxyz(7.8721, 4.3404, 30.1226)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372498 #859824
analogous
#244B98 #372498 #712498
triadic
#372498 #983724 #249837
tetradic
#372498 #98244B #859824 #249871
square
#372498 #98244B #859824 #249871
split-complementary
#372498 #987124 #4B9824
monochromatic
#130D35 #251867 #372498 #4930C9 #725ED9

Accessibility & contrast

On white

11.24
#372498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372498
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372498#FFFFFF#000000##FFFFFF
##3724981.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372498;
/* rgb */ color: rgb(55, 36, 152);
/* oklch */ color: oklch(37.0% 0.176 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b61b7',
    500: '#372498',
    950: '#000000',
  },
}
SCSS
$custom: #372498;
$custom-light: #7b61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372498",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 249.828,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.17638,
    "h": 280.9
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#372498
secondary
#ADBE5A
accent
#E543CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #372498

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

Preview Lab → · Contrast checker → · Palette generator →

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