#372996#372996

#372996 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.169 H 280.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#372996
RGBrgb(55, 41, 150)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 73%, 59%)
CMYKcmyk(63.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(25.56, 38.80, -57.49)
CIE-LCHlch(25.56, 69.36, 304.01°)
OKLaboklab(37.51% 0.0302 -0.1658)
OKLCHoklch(37.51% 0.169 280.3)
XYZxyz(7.8718, 4.5995, 29.3212)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372996 #889629
analogous
#295296 #372996 #6D2996
triadic
#372996 #963729 #299637
tetradic
#372996 #962952 #889629 #29966D
square
#372996 #962952 #889629 #29966D
split-complementary
#372996 #966D29 #529629
monochromatic
#140F36 #251C66 #372996 #4936C6 #7365D5

Accessibility & contrast

On white

10.94
#372996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#372996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372996
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372996#FFFFFF#000000##FFFFFF
##3729961.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372996;
/* rgb */ color: rgb(55, 41, 150);
/* oklch */ color: oklch(37.5% 0.169 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a64b6',
    500: '#372996',
    950: '#000000',
  },
}
SCSS
$custom: #372996;
$custom-light: #7a64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372996",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 247.706,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.16855,
    "h": 280.3
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#372996
secondary
#AFBB60
accent
#E047CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372996

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

Preview Lab → · Contrast checker → · Palette generator →

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