#372AA5#372AA5

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

Color values

HEX#372AA5
RGBrgb(55, 42, 165)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(66.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.25, 43.08, -63.86)
CIE-LCHlch(27.25, 77.03, 304.00°)
OKLaboklab(39.16% 0.0264 -0.1844)
OKLCHoklch(39.16% 0.186 278.1)
XYZxyz(9.1929, 5.1840, 36.1062)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA5 #98A52A
analogous
#2A5BA5 #372AA5 #742AA5
triadic
#372AA5 #A5372A #2AA537
tetradic
#372AA5 #A52A5B #98A52A #2AA574
square
#372AA5 #A52A5B #98A52A #2AA574
split-complementary
#372AA5 #A5742A #5BA52A
monochromatic
#161143 #271E74 #372AA5 #4D3ECE #7A6FDA

Accessibility & contrast

On white

10.31
#372AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#372AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA5
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA5#FFFFFF#000000##FFFFFF
##372AA51.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372aa5;
/* rgb */ color: rgb(55, 42, 165);
/* oklch */ color: oklch(39.2% 0.186 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d66c1',
    500: '#372aa5',
    950: '#000000',
  },
}
SCSS
$custom: #372aa5;
$custom-light: #7d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa5",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 246.341,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.1863,
    "h": 278.1
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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