#372E99#372E99

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

Color values

HEX#372E99
RGBrgb(55, 46, 153)
HSLhsl(245, 54%, 39%)
HSVhsv(245, 70%, 60%)
CMYKcmyk(64.1%, 69.9%, 0%, 40%)
CIE-LABlab(26.92, 36.83, -57.10)
CIE-LCHlch(26.92, 67.95, 302.82°)
OKLaboklab(38.57% 0.0258 -0.1647)
OKLCHoklch(38.57% 0.167 278.9)
XYZxyz(8.3005, 5.0655, 30.6711)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E99 #90992E
analogous
#2E5B99 #372E99 #6D2E99
triadic
#372E99 #99372E #2E9937
tetradic
#372E99 #992E5B #90992E #2E996D
square
#372E99 #992E5B #90992E #2E996D
split-complementary
#372E99 #996D2E #5B992E
monochromatic
#15123B #26206A #372E99 #4A3FC5 #776ED3

Accessibility & contrast

On white

10.43
#372E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#372E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E99
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E99#FFFFFF#000000##FFFFFF
##372E991.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372e99;
/* rgb */ color: rgb(55, 46, 153);
/* oklch */ color: oklch(38.6% 0.167 278.9);
Tailwind
colors: {
  custom: {
    50: '#7a68b8',
    500: '#372e99',
    950: '#000000',
  },
}
SCSS
$custom: #372e99;
$custom-light: #7a68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372e99",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 245.047,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.1667,
    "h": 278.9
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#372E99
secondary
#B4BB68
accent
#DD4BD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E99

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

Preview Lab → · Contrast checker → · Palette generator →

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