#372AB6#372AB6

#372AB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.207 H 276.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#372AB6
RGBrgb(55, 42, 182)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 71%)
CMYKcmyk(69.8%, 76.9%, 0%, 28.6%)
CIE-LABlab(29.02, 48.47, -71.14)
CIE-LCHlch(29.02, 86.08, 304.27°)
OKLaboklab(40.93% 0.0225 -0.2056)
OKLCHoklch(40.93% 0.207 276.2)
XYZxyz(10.8442, 5.8446, 44.8035)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB6 #A9B62A
analogous
#2A63B6 #372AB6 #7D2AB6
triadic
#372AB6 #B6372A #2AB637
tetradic
#372AB6 #B62A63 #A9B62A #2AB67D
square
#372AB6 #B62A63 #A9B62A #2AB67D
split-complementary
#372AB6 #B67D2A #63B62A
monochromatic
#191353 #281F84 #372AB6 #5548D5 #847AE0

Accessibility & contrast

On white

9.68
#372AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#372AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB6
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB6#FFFFFF#000000##FFFFFF
##372AB61.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372ab6;
/* rgb */ color: rgb(55, 42, 182);
/* oklch */ color: oklch(40.9% 0.207 276.2);
Tailwind
colors: {
  custom: {
    50: '#8167cd',
    500: '#372ab6',
    950: '#000000',
  },
}
SCSS
$custom: #372ab6;
$custom-light: #8167cd;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab6",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 245.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.20687,
    "h": 276.2
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#372AB6
secondary
#C0C873
accent
#E642D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372AB6

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

Preview Lab → · Contrast checker → · Palette generator →

#372AB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva