#372BA6#372BA6

#372BA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.187 H 277.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#372BA6
RGBrgb(55, 43, 166)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(66.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(27.55, 42.84, -63.97)
CIE-LCHlch(27.55, 76.99, 303.81°)
OKLaboklab(39.4% 0.0255 -0.1847)
OKLCHoklch(39.4% 0.187 277.9)
XYZxyz(9.3201, 5.2924, 36.5994)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA6 #9AA62B
analogous
#2B5CA6 #372BA6 #742BA6
triadic
#372BA6 #A6372B #2BA637
tetradic
#372BA6 #A62B5C #9AA62B #2BA674
square
#372BA6 #A62B5C #9AA62B #2BA674
split-complementary
#372BA6 #A6742B #5CA62B
monochromatic
#171245 #271E75 #372BA6 #4E41CE #7B71DA

Accessibility & contrast

On white

10.20
#372BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#372BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA6
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA6#FFFFFF#000000##FFFFFF
##372BA61.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ba6;
/* rgb */ color: rgb(55, 43, 166);
/* oklch */ color: oklch(39.4% 0.187 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#372ba6',
    950: '#000000',
  },
}
SCSS
$custom: #372ba6;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba6",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 245.854,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39399,
    "c": 0.18651,
    "h": 277.9
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#372BA6
secondary
#B9C16B
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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