#372ED4#372ED4

#372ED4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.6% C 0.238 H 273.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#372ED4
RGBrgb(55, 46, 212)
HSLhsl(243, 66%, 51%)
HSVhsv(243, 78%, 83%)
CMYKcmyk(74.1%, 78.3%, 0%, 16.9%)
CIE-LABlab(32.96, 55.72, -82.21)
CIE-LCHlch(32.96, 99.32, 304.13°)
OKLaboklab(44.64% 0.0139 -0.2379)
OKLCHoklch(44.64% 0.238 273.3)
XYZxyz(14.4322, 7.5182, 62.9651)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372ED4 #CBD42E
analogous
#2E78D4 #372ED4 #8A2ED4
triadic
#372ED4 #D4372E #2ED437
tetradic
#372ED4 #D42E78 #CBD42E #2ED48A
square
#372ED4 #D42E78 #CBD42E #2ED48A
split-complementary
#372ED4 #D48A2E #78D42E
monochromatic
#1C1770 #2922A3 #372ED4 #6861DE #9894E9

Accessibility & contrast

On white

8.39
#372ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#372ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372ED4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372ED4#FFFFFF#000000##FFFFFF
##372ED41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D9
Deuteranopia (green-blind)
#0045D1
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #372ed4;
/* rgb */ color: rgb(55, 46, 212);
/* oklch */ color: oklch(44.6% 0.238 273.3);
Tailwind
colors: {
  custom: {
    50: '#876be3',
    500: '#372ed4',
    950: '#000000',
  },
}
SCSS
$custom: #372ed4;
$custom-light: #876be3;
$custom-dark: #000000;
JSON
{
  "hex": "#372ed4",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 212
  },
  "hsl": {
    "h": 243.253,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.23828,
    "h": 273.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#372ED4
secondary
#D0D48A
accent
#E93FE0
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #372ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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