#372CA7#372CA7

#372CA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.187 H 277.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#372CA7
RGBrgb(55, 44, 167)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 74%, 65%)
CMYKcmyk(67.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.85, 42.60, -64.08)
CIE-LCHlch(27.85, 76.95, 303.62°)
OKLaboklab(39.64% 0.0247 -0.1851)
OKLCHoklch(39.64% 0.187 277.6)
XYZxyz(9.4490, 5.4028, 37.0966)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA7 #9CA72C
analogous
#2C5FA7 #372CA7 #752CA7
triadic
#372CA7 #A7372C #2CA737
tetradic
#372CA7 #A72C5F #9CA72C #2CA775
square
#372CA7 #A72C5F #9CA72C #2CA775
split-complementary
#372CA7 #A7752C #5FA72C
monochromatic
#171246 #271F77 #372CA7 #4F43CD #7C73DA

Accessibility & contrast

On white

10.09
#372CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#372CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA7
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA7#FFFFFF#000000##FFFFFF
##372CA71.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ca7;
/* rgb */ color: rgb(55, 44, 167);
/* oklch */ color: oklch(39.6% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#7d67c2',
    500: '#372ca7',
    950: '#000000',
  },
}
SCSS
$custom: #372ca7;
$custom-light: #7d67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca7",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 245.366,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.18671,
    "h": 277.6
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#372CA7
secondary
#BAC26D
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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