#372A96#372A96

#372A96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 280.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#372A96
RGBrgb(55, 42, 150)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(63.3%, 72%, 0%, 41.2%)
CIE-LABlab(25.77, 38.22, -57.15)
CIE-LCHlch(25.77, 68.75, 303.77°)
OKLaboklab(37.66% 0.0294 -0.1648)
OKLCHoklch(37.66% 0.167 280.1)
XYZxyz(7.9068, 4.6696, 29.3329)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A96 #89962A
analogous
#2A5396 #372A96 #6D2A96
triadic
#372A96 #96372A #2A9637
tetradic
#372A96 #962A53 #89962A #2A966D
square
#372A96 #962A53 #89962A #2A966D
split-complementary
#372A96 #966D2A #53962A
monochromatic
#140F36 #251D66 #372A96 #4937C6 #7366D4

Accessibility & contrast

On white

10.86
#372A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#372A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A96
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A96#FFFFFF#000000##FFFFFF
##372A961.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372a96;
/* rgb */ color: rgb(55, 42, 150);
/* oklch */ color: oklch(37.7% 0.167 280.1);
Tailwind
colors: {
  custom: {
    50: '#7a65b6',
    500: '#372a96',
    950: '#000000',
  },
}
SCSS
$custom: #372a96;
$custom-light: #7a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372a96",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 247.222,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.16742,
    "h": 280.1
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#372A96
secondary
#B0BA61
accent
#E048CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372A96

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

Preview Lab → · Contrast checker → · Palette generator →

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