#372AA1#372AA1

#372AA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.181 H 278.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#372AA1
RGBrgb(55, 42, 161)
HSLhsl(247, 59%, 40%)
HSVhsv(247, 74%, 63%)
CMYKcmyk(65.8%, 73.9%, 0%, 36.9%)
CIE-LABlab(26.85, 41.79, -62.10)
CIE-LCHlch(26.85, 74.85, 303.94°)
OKLaboklab(38.75% 0.0272 -0.1793)
OKLCHoklch(38.75% 0.181 278.6)
XYZxyz(8.8345, 5.0406, 34.2187)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA1 #94A12A
analogous
#2A58A1 #372AA1 #732AA1
triadic
#372AA1 #A1372A #2AA137
tetradic
#372AA1 #A12A58 #94A12A #2AA173
square
#372AA1 #A12A58 #94A12A #2AA173
split-complementary
#372AA1 #A1732A #58A12A
monochromatic
#161140 #261D70 #372AA1 #4C3CCC #786DD9

Accessibility & contrast

On white

10.46
#372AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#372AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA1
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA1#FFFFFF#000000##FFFFFF
##372AA11.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372aa1;
/* rgb */ color: rgb(55, 42, 161);
/* oklch */ color: oklch(38.8% 0.181 278.6);
Tailwind
colors: {
  custom: {
    50: '#7c66be',
    500: '#372aa1',
    950: '#000000',
  },
}
SCSS
$custom: #372aa1;
$custom-light: #7c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa1",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 246.555,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.18134,
    "h": 278.6
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#372AA1
secondary
#B6C067
accent
#E246D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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