#372AA0#372AA0

#372AA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.180 H 278.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#372AA0
RGBrgb(55, 42, 160)
HSLhsl(247, 58%, 40%)
HSVhsv(247, 74%, 63%)
CMYKcmyk(65.6%, 73.8%, 0%, 37.3%)
CIE-LABlab(26.75, 41.47, -61.65)
CIE-LCHlch(26.75, 74.30, 303.92°)
OKLaboklab(38.65% 0.0274 -0.178)
OKLCHoklch(38.65% 0.18 278.8)
XYZxyz(8.7466, 5.0055, 33.7561)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA0 #93A02A
analogous
#2A58A0 #372AA0 #722AA0
triadic
#372AA0 #A0372A #2AA037
tetradic
#372AA0 #A02A58 #93A02A #2AA072
square
#372AA0 #A02A58 #93A02A #2AA072
split-complementary
#372AA0 #A0722A #58A02A
monochromatic
#16113F #261D70 #372AA0 #4B3CCC #786CD8

Accessibility & contrast

On white

10.49
#372AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#372AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA0
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA0#FFFFFF#000000##FFFFFF
##372AA01.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372aa0;
/* rgb */ color: rgb(55, 42, 160);
/* oklch */ color: oklch(38.6% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#7c65bd',
    500: '#372aa0',
    950: '#000000',
  },
}
SCSS
$custom: #372aa0;
$custom-light: #7c65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa0",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 246.61,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.18008,
    "h": 278.8
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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