#372D97#372D97

#372D97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.165 H 279.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#372D97
RGBrgb(55, 45, 151)
HSLhsl(246, 54%, 38%)
HSVhsv(246, 70%, 59%)
CMYKcmyk(63.6%, 70.2%, 0%, 40.8%)
CIE-LABlab(26.51, 36.77, -56.55)
CIE-LCHlch(26.51, 67.45, 303.03°)
OKLaboklab(38.22% 0.0269 -0.1631)
OKLCHoklch(38.22% 0.165 279.4)
XYZxyz(8.0981, 4.9227, 29.7956)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D97 #8D972D
analogous
#2D5897 #372D97 #6C2D97
triadic
#372D97 #97372D #2D9737
tetradic
#372D97 #972D58 #8D972D #2D976C
square
#372D97 #972D58 #8D972D #2D976C
split-complementary
#372D97 #976C2D #58972D
monochromatic
#151139 #261F68 #372D97 #493CC5 #756BD3

Accessibility & contrast

On white

10.58
#372D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#372D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D97
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D97#FFFFFF#000000##FFFFFF
##372D971.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372d97;
/* rgb */ color: rgb(55, 45, 151);
/* oklch */ color: oklch(38.2% 0.165 279.4);
Tailwind
colors: {
  custom: {
    50: '#7a67b7',
    500: '#372d97',
    950: '#000000',
  },
}
SCSS
$custom: #372d97;
$custom-light: #7a67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372d97",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 245.66,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.16527,
    "h": 279.4
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#372D97
secondary
#B2BA66
accent
#DD4AD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372D97

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

Preview Lab → · Contrast checker → · Palette generator →

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