#372B86#372B86

#372B86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.145 H 282.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#372B86
RGBrgb(55, 43, 134)
HSLhsl(248, 51%, 35%)
HSVhsv(248, 68%, 53%)
CMYKcmyk(59%, 67.9%, 0%, 47.5%)
CIE-LABlab(24.52, 32.33, -49.29)
CIE-LCHlch(24.52, 58.94, 303.27°)
OKLaboklab(36.3% 0.0311 -0.1418)
OKLCHoklch(36.3% 0.145 282.4)
XYZxyz(6.7412, 4.2608, 23.0168)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B86 #7A862B
analogous
#2B4D86 #372B86 #652B86
triadic
#372B86 #86372B #2B8637
tetradic
#372B86 #862B4D #7A862B #2B8665
square
#372B86 #862B4D #7A862B #2B8665
split-complementary
#372B86 #86652B #4D862B
monochromatic
#110D29 #241C58 #372B86 #4A3AB4 #6E60CC

Accessibility & contrast

On white

11.34
#372B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B86
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B86#FFFFFF#000000##FFFFFF
##372B861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#0B4254
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372b86;
/* rgb */ color: rgb(55, 43, 134);
/* oklch */ color: oklch(36.3% 0.145 282.4);
Tailwind
colors: {
  custom: {
    50: '#7765aa',
    500: '#372b86',
    950: '#000000',
  },
}
SCSS
$custom: #372b86;
$custom-light: #7765aa;
$custom-dark: #000000;
JSON
{
  "hex": "#372b86",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 247.912,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.14515,
    "h": 282.4
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#372B86
secondary
#A6B25B
accent
#DB4DC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372B86

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

Preview Lab → · Contrast checker → · Palette generator →

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