#372C97#372C97

#372C97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.166 H 279.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#372C97
RGBrgb(55, 44, 151)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 59%)
CMYKcmyk(63.6%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.30, 37.37, -56.90)
CIE-LCHlch(26.30, 68.08, 303.29°)
OKLaboklab(38.06% 0.0277 -0.1641)
OKLCHoklch(38.06% 0.166 279.6)
XYZxyz(8.0604, 4.8473, 29.7830)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C97 #8C972C
analogous
#2C5697 #372C97 #6C2C97
triadic
#372C97 #97372C #2C9737
tetradic
#372C97 #972C56 #8C972C #2C976C
square
#372C97 #972C56 #8C972C #2C976C
split-complementary
#372C97 #976C2C #56972C
monochromatic
#141038 #261E68 #372C97 #493AC6 #756AD4

Accessibility & contrast

On white

10.66
#372C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#372C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C97
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C97#FFFFFF#000000##FFFFFF
##372C971.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372c97;
/* rgb */ color: rgb(55, 44, 151);
/* oklch */ color: oklch(38.1% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#372c97',
    950: '#000000',
  },
}
SCSS
$custom: #372c97;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372c97",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 246.168,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38059,
    "c": 0.16642,
    "h": 279.6
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#372C97
secondary
#B1BA65
accent
#DE4ACF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C97

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

Preview Lab → · Contrast checker → · Palette generator →

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