#372F97#372F97

#372F97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.163 H 278.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#372F97
RGBrgb(55, 47, 151)
HSLhsl(245, 53%, 39%)
HSVhsv(245, 69%, 59%)
CMYKcmyk(63.6%, 68.9%, 0%, 40.8%)
CIE-LABlab(26.96, 35.55, -55.82)
CIE-LCHlch(26.96, 66.18, 302.50°)
OKLaboklab(38.54% 0.0253 -0.1609)
OKLCHoklch(38.54% 0.163 278.9)
XYZxyz(8.1762, 5.0790, 29.8216)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F97 #8F972F
analogous
#2F5B97 #372F97 #6B2F97
triadic
#372F97 #97372F #2F9737
tetradic
#372F97 #972F5B #8F972F #2F976B
square
#372F97 #972F5B #8F972F #2F976B
split-complementary
#372F97 #976B2F #5B972F
monochromatic
#15123A #262068 #372F97 #4A40C3 #766ED2

Accessibility & contrast

On white

10.42
#372F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F97
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F97#FFFFFF#000000##FFFFFF
##372F971.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372f97;
/* rgb */ color: rgb(55, 47, 151);
/* oklch */ color: oklch(38.5% 0.163 278.9);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#372f97',
    950: '#000000',
  },
}
SCSS
$custom: #372f97;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372f97",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 244.615,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.1629,
    "h": 278.9
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#372F97
secondary
#B3B968
accent
#DC4CD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F97

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

Preview Lab → · Contrast checker → · Palette generator →

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