#372A97#372A97

#372A97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.169 H 280.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#372A97
RGBrgb(55, 42, 151)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(63.6%, 72.2%, 0%, 40.8%)
CIE-LABlab(25.87, 38.54, -57.61)
CIE-LCHlch(25.87, 69.31, 303.79°)
OKLaboklab(37.75% 0.0292 -0.1661)
OKLCHoklch(37.75% 0.169 280)
XYZxyz(7.9877, 4.7019, 29.7588)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A97 #8A972A
analogous
#2A5397 #372A97 #6D2A97
triadic
#372A97 #97372A #2A9737
tetradic
#372A97 #972A53 #8A972A #2A976D
square
#372A97 #972A53 #8A972A #2A976D
split-complementary
#372A97 #976D2A #53972A
monochromatic
#140F37 #261D67 #372A97 #4837C7 #7467D5

Accessibility & contrast

On white

10.82
#372A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#372A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A97
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A97#FFFFFF#000000##FFFFFF
##372A971.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372a97;
/* rgb */ color: rgb(55, 42, 151);
/* oklch */ color: oklch(37.8% 0.169 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a65b7',
    500: '#372a97',
    950: '#000000',
  },
}
SCSS
$custom: #372a97;
$custom-light: #7a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372a97",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 247.156,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.1687,
    "h": 280
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#372A97
secondary
#B0BB62
accent
#E048CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372A97

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

Preview Lab → · Contrast checker → · Palette generator →

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