#372B98#372B98

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

Color values

HEX#372B98
RGBrgb(55, 43, 152)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 60%)
CMYKcmyk(63.8%, 71.7%, 0%, 40.4%)
CIE-LABlab(26.18, 38.29, -57.71)
CIE-LCHlch(26.18, 69.26, 303.56°)
OKLaboklab(38% 0.0283 -0.1665)
OKLCHoklch(38% 0.169 279.6)
XYZxyz(8.1051, 4.8064, 30.2003)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B98 #8C982B
analogous
#2B5598 #372B98 #6D2B98
triadic
#372B98 #98372B #2B9837
tetradic
#372B98 #982B55 #8C982B #2B986D
square
#372B98 #982B55 #8C982B #2B986D
split-complementary
#372B98 #986D2B #55982B
monochromatic
#141039 #261E68 #372B98 #4939C7 #7569D5

Accessibility & contrast

On white

10.71
#372B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372B98
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B98#FFFFFF#000000##FFFFFF
##372B981.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372b98;
/* rgb */ color: rgb(55, 43, 152);
/* oklch */ color: oklch(38.0% 0.169 279.6);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#372b98',
    950: '#000000',
  },
}
SCSS
$custom: #372b98;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372b98",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 246.606,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.16886,
    "h": 279.6
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#372B98
secondary
#B1BB64
accent
#DF49CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372B98

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

Preview Lab → · Contrast checker → · Palette generator →

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