#372AA7#372AA7

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

Color values

HEX#372AA7
RGBrgb(55, 42, 167)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(67.1%, 74.9%, 0%, 34.5%)
CIE-LABlab(27.46, 43.72, -64.73)
CIE-LCHlch(27.46, 78.11, 304.03°)
OKLaboklab(39.36% 0.0259 -0.187)
OKLCHoklch(39.36% 0.189 277.9)
XYZxyz(9.3763, 5.2574, 37.0724)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA7 #9AA72A
analogous
#2A5BA7 #372AA7 #752AA7
triadic
#372AA7 #A7372A #2AA737
tetradic
#372AA7 #A72A5B #9AA72A #2AA775
square
#372AA7 #A72A5B #9AA72A #2AA775
split-complementary
#372AA7 #A7752A #5BA72A
monochromatic
#171145 #271E76 #372AA7 #4E3FCF #7B70DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372AA7#FFFFFF#000000##FFFFFF
##372AA71.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)
#0046AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372aa7;
/* rgb */ color: rgb(55, 42, 167);
/* oklch */ color: oklch(39.4% 0.189 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#372aa7',
    950: '#000000',
  },
}
SCSS
$custom: #372aa7;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa7",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 246.24,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.18876,
    "h": 277.9
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#372AA7
secondary
#B9C26B
accent
#E345D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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