#372D96#372D96

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

Color values

HEX#372D96
RGBrgb(55, 45, 150)
HSLhsl(246, 54%, 38%)
HSVhsv(246, 70%, 59%)
CMYKcmyk(63.3%, 70%, 0%, 41.2%)
CIE-LABlab(26.42, 36.43, -56.09)
CIE-LCHlch(26.42, 66.88, 303.01°)
OKLaboklab(38.12% 0.0271 -0.1617)
OKLCHoklch(38.12% 0.164 279.5)
XYZxyz(8.0172, 4.8904, 29.3697)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D96 #8C962D
analogous
#2D5796 #372D96 #6B2D96
triadic
#372D96 #96372D #2D9637
tetradic
#372D96 #962D57 #8C962D #2D966B
square
#372D96 #962D57 #8C962D #2D966B
split-complementary
#372D96 #966B2D #57962D
monochromatic
#141138 #261F67 #372D96 #493CC4 #756BD3

Accessibility & contrast

On white

10.62
#372D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372D96
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D96#FFFFFF#000000##FFFFFF
##372D961.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372d96;
/* rgb */ color: rgb(55, 45, 150);
/* oklch */ color: oklch(38.1% 0.164 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a67b6',
    500: '#372d96',
    950: '#000000',
  },
}
SCSS
$custom: #372d96;
$custom-light: #7a67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372d96",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 245.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.16396,
    "h": 279.5
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#372D96
secondary
#B1B965
accent
#DD4BCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372D96

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

Preview Lab → · Contrast checker → · Palette generator →

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