#372AA4#372AA4

#372AA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.185 H 278.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#372AA4
RGBrgb(55, 42, 164)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.5%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.15, 42.76, -63.42)
CIE-LCHlch(27.15, 76.49, 303.99°)
OKLaboklab(39.05% 0.0266 -0.1831)
OKLCHoklch(39.05% 0.185 278.3)
XYZxyz(9.1022, 5.1477, 35.6287)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA4 #97A42A
analogous
#2A5AA4 #372AA4 #742AA4
triadic
#372AA4 #A4372A #2AA437
tetradic
#372AA4 #A42A5A #97A42A #2AA474
square
#372AA4 #A42A5A #97A42A #2AA474
split-complementary
#372AA4 #A4742A #5AA42A
monochromatic
#161143 #271E73 #372AA4 #4D3ECD #7A6EDA

Accessibility & contrast

On white

10.35
#372AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#372AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA4
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA4#FFFFFF#000000##FFFFFF
##372AA41.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372aa4;
/* rgb */ color: rgb(55, 42, 164);
/* oklch */ color: oklch(39.1% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#7d66c0',
    500: '#372aa4',
    950: '#000000',
  },
}
SCSS
$custom: #372aa4;
$custom-light: #7d66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa4",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 246.393,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.18506,
    "h": 278.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#372AA4
secondary
#B8C169
accent
#E245D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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