#372CA3#372CA3

#372CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.182 H 278.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#372CA3
RGBrgb(55, 44, 163)
HSLhsl(246, 57%, 41%)
HSVhsv(246, 73%, 64%)
CMYKcmyk(66.3%, 73%, 0%, 36.1%)
CIE-LABlab(27.46, 41.30, -62.31)
CIE-LCHlch(27.46, 74.76, 303.54°)
OKLaboklab(39.24% 0.0255 -0.1799)
OKLCHoklch(39.24% 0.182 278.1)
XYZxyz(9.0850, 5.2572, 35.1792)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA3 #98A32C
analogous
#2C5CA3 #372CA3 #722CA3
triadic
#372CA3 #A3372C #2CA337
tetradic
#372CA3 #A32C5C #98A32C #2CA372
square
#372CA3 #A32C5C #98A32C #2CA372
split-complementary
#372CA3 #A3722C #5CA32C
monochromatic
#161243 #271F73 #372CA3 #4D41CC #7A71D9

Accessibility & contrast

On white

10.24
#372CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#372CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA3
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA3#FFFFFF#000000##FFFFFF
##372CA31.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ca3;
/* rgb */ color: rgb(55, 44, 163);
/* oklch */ color: oklch(39.2% 0.182 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c67bf',
    500: '#372ca3',
    950: '#000000',
  },
}
SCSS
$custom: #372ca3;
$custom-light: #7c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca3",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 245.546,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.18172,
    "h": 278.1
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#372CA3
secondary
#B8C06B
accent
#E147D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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