#372C98#372C98

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

Color values

HEX#372C98
RGBrgb(55, 44, 152)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 60%)
CMYKcmyk(63.8%, 71.1%, 0%, 40.4%)
CIE-LABlab(26.39, 37.69, -57.36)
CIE-LCHlch(26.39, 68.64, 303.31°)
OKLaboklab(38.16% 0.0275 -0.1654)
OKLCHoklch(38.16% 0.168 279.5)
XYZxyz(8.1419, 4.8800, 30.2125)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C98 #8D982C
analogous
#2C5798 #372C98 #6D2C98
triadic
#372C98 #98372C #2C9837
tetradic
#372C98 #982C57 #8D982C #2C986D
square
#372C98 #982C57 #8D982C #2C986D
split-complementary
#372C98 #986D2C #57982C
monochromatic
#151139 #261E69 #372C98 #493BC6 #756AD4

Accessibility & contrast

On white

10.63
#372C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372C98
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C98#FFFFFF#000000##FFFFFF
##372C981.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372c98;
/* rgb */ color: rgb(55, 44, 152);
/* oklch */ color: oklch(38.2% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a66b7',
    500: '#372c98',
    950: '#000000',
  },
}
SCSS
$custom: #372c98;
$custom-light: #7a66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372c98",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 246.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.16772,
    "h": 279.5
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#372C98
secondary
#B2BB65
accent
#DE49CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372C98

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

Preview Lab → · Contrast checker → · Palette generator →

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