#372C95#372C95

#372C95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.164 H 279.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#372C95
RGBrgb(55, 44, 149)
HSLhsl(246, 54%, 38%)
HSVhsv(246, 70%, 58%)
CMYKcmyk(63.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(26.11, 36.70, -55.98)
CIE-LCHlch(26.11, 66.94, 303.25°)
OKLaboklab(37.87% 0.028 -0.1614)
OKLCHoklch(37.87% 0.164 279.9)
XYZxyz(7.8993, 4.7829, 28.9349)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C95 #8A952C
analogous
#2C5595 #372C95 #6C2C95
triadic
#372C95 #95372C #2C9537
tetradic
#372C95 #952C55 #8A952C #2C956C
square
#372C95 #952C55 #8A952C #2C956C
split-complementary
#372C95 #956C2C #55952C
monochromatic
#141037 #261E66 #372C95 #483AC4 #7469D3

Accessibility & contrast

On white

10.73
#372C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372C95
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C95#FFFFFF#000000##FFFFFF
##372C951.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372c95;
/* rgb */ color: rgb(55, 44, 149);
/* oklch */ color: oklch(37.9% 0.164 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a66b5',
    500: '#372c95',
    950: '#000000',
  },
}
SCSS
$custom: #372c95;
$custom-light: #7a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372c95",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 246.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37867,
    "c": 0.16383,
    "h": 279.9
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#372C95
secondary
#B0B964
accent
#DE4ACE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C95

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

Preview Lab → · Contrast checker → · Palette generator →

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