#372997#372997

#372997 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.170 H 280.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#372997
RGBrgb(55, 41, 151)
HSLhsl(248, 57%, 38%)
HSVhsv(248, 73%, 59%)
CMYKcmyk(63.6%, 72.8%, 0%, 40.8%)
CIE-LABlab(25.66, 39.12, -57.95)
CIE-LCHlch(25.66, 69.92, 304.02°)
OKLaboklab(37.6% 0.03 -0.1671)
OKLCHoklch(37.6% 0.17 280.2)
XYZxyz(7.9526, 4.6319, 29.7471)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372997 #899729
analogous
#295297 #372997 #6E2997
triadic
#372997 #973729 #299737
tetradic
#372997 #972952 #899729 #29976E
square
#372997 #972952 #899729 #29976E
split-complementary
#372997 #976E29 #529729
monochromatic
#140F37 #251C67 #372997 #4936C7 #7365D5

Accessibility & contrast

On white

10.90
#372997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#372997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372997
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372997#FFFFFF#000000##FFFFFF
##3729971.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372997;
/* rgb */ color: rgb(55, 41, 151);
/* oklch */ color: oklch(37.6% 0.170 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a64b7',
    500: '#372997',
    950: '#000000',
  },
}
SCSS
$custom: #372997;
$custom-light: #7a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372997",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 247.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37605,
    "c": 0.16982,
    "h": 280.2
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#372997
secondary
#B0BB61
accent
#E147CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372997

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

Preview Lab → · Contrast checker → · Palette generator →

#372997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva