#372A9A#372A9A

#372A9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.173 H 279.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#372A9A
RGBrgb(55, 42, 154)
HSLhsl(247, 57%, 38%)
HSVhsv(247, 73%, 60%)
CMYKcmyk(64.3%, 72.7%, 0%, 39.6%)
CIE-LABlab(26.16, 39.52, -58.97)
CIE-LCHlch(26.16, 70.99, 303.83°)
OKLaboklab(38.05% 0.0287 -0.1701)
OKLCHoklch(38.05% 0.173 279.6)
XYZxyz(8.2344, 4.8006, 31.0583)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9A #8D9A2A
analogous
#2A559A #372A9A #6F2A9A
triadic
#372A9A #9A372A #2A9A37
tetradic
#372A9A #9A2A55 #8D9A2A #2A9A6F
square
#372A9A #9A2A55 #8D9A2A #2A9A6F
split-complementary
#372A9A #9A6F2A #559A2A
monochromatic
#15103A #261D6A #372A9A #4938C9 #7568D6

Accessibility & contrast

On white

10.71
#372A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#372A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A9A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9A#FFFFFF#000000##FFFFFF
##372A9A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372a9a;
/* rgb */ color: rgb(55, 42, 154);
/* oklch */ color: oklch(38.0% 0.173 279.6);
Tailwind
colors: {
  custom: {
    50: '#7b65b9',
    500: '#372a9a',
    950: '#000000',
  },
}
SCSS
$custom: #372a9a;
$custom-light: #7b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9a",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 246.964,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.17253,
    "h": 279.6
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#372A9A
secondary
#B2BC63
accent
#E047CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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