#372A95#372A95

#372A95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.166 H 280.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#372A95
RGBrgb(55, 42, 149)
HSLhsl(247, 56%, 37%)
HSVhsv(247, 72%, 58%)
CMYKcmyk(63.1%, 71.8%, 0%, 41.6%)
CIE-LABlab(25.68, 37.89, -56.69)
CIE-LCHlch(25.68, 68.19, 303.76°)
OKLaboklab(37.56% 0.0296 -0.1635)
OKLCHoklch(37.56% 0.166 280.3)
XYZxyz(7.8266, 4.6375, 28.9106)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A95 #88952A
analogous
#2A5295 #372A95 #6D2A95
triadic
#372A95 #95372A #2A9537
tetradic
#372A95 #952A52 #88952A #2A956D
square
#372A95 #952A52 #88952A #2A956D
split-complementary
#372A95 #956D2A #52952A
monochromatic
#140F36 #251D65 #372A95 #4937C5 #7366D4

Accessibility & contrast

On white

10.89
#372A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A95
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A95#FFFFFF#000000##FFFFFF
##372A951.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372a95;
/* rgb */ color: rgb(55, 42, 149);
/* oklch */ color: oklch(37.6% 0.166 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a65b5',
    500: '#372a95',
    950: '#000000',
  },
}
SCSS
$custom: #372a95;
$custom-light: #7a65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372a95",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 247.29,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.16614,
    "h": 280.3
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#372A95
secondary
#AFBA61
accent
#DF48CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372A95

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

Preview Lab → · Contrast checker → · Palette generator →

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