#372AE6#372AE6

#372AE6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.2% C 0.261 H 272.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#372AE6
RGBrgb(55, 42, 230)
HSLhsl(244, 79%, 53%)
HSVhsv(244, 82%, 90%)
CMYKcmyk(76.1%, 81.7%, 0%, 9.8%)
CIE-LABlab(34.35, 62.90, -90.24)
CIE-LCHlch(34.35, 110.00, 304.88°)
OKLaboklab(46.19% 0.0109 -0.2611)
OKLCHoklch(46.19% 0.261 272.4)
XYZxyz(16.6817, 8.1795, 75.5472)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AE6 #D9E62A
analogous
#2A7BE6 #372AE6 #952AE6
triadic
#372AE6 #E6372A #2AE637
tetradic
#372AE6 #E62A7B #D9E62A #2AE695
square
#372AE6 #E62A7B #D9E62A #2AE695
split-complementary
#372AE6 #E6952A #7BE62A
monochromatic
#181086 #2216BD #372AE6 #6A61EC #9E98F3

Accessibility & contrast

On white

7.97
#372AE6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#372AE6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AE6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AE6#FFFFFF#000000##FFFFFF
##372AE61.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AEB
Deuteranopia (green-blind)
#0047E3
Tritanopia (blue-blind)
#00678B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #372ae6;
/* rgb */ color: rgb(55, 42, 230);
/* oklch */ color: oklch(46.2% 0.261 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b6af0',
    500: '#372ae6',
    950: '#000000',
  },
}
SCSS
$custom: #372ae6;
$custom-light: #8b6af0;
$custom-dark: #000000;
JSON
{
  "hex": "#372ae6",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 230
  },
  "hsl": {
    "h": 244.149,
    "s": 78.992,
    "l": 53.333
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.2613,
    "h": 272.4
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#372AE6
secondary
#D9DE8D
accent
#F532E8
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #372AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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