#372B83#372B83

#372B83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.141 H 282.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#372B83
RGBrgb(55, 43, 131)
HSLhsl(248, 51%, 34%)
HSVhsv(248, 67%, 51%)
CMYKcmyk(58%, 67.2%, 0%, 48.6%)
CIE-LABlab(24.25, 31.33, -47.84)
CIE-LCHlch(24.25, 57.18, 303.23°)
OKLaboklab(36.03% 0.0315 -0.1375)
OKLCHoklch(36.03% 0.141 282.9)
XYZxyz(6.5349, 4.1783, 21.9305)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B83 #77832B
analogous
#2B4B83 #372B83 #632B83
triadic
#372B83 #83372B #2B8337
tetradic
#372B83 #832B4B #77832B #2B8363
square
#372B83 #832B4B #77832B #2B8363
split-complementary
#372B83 #83632B #4B832B
monochromatic
#100D27 #241C55 #372B83 #4A3AB1 #6D5ECA

Accessibility & contrast

On white

11.44
#372B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B83
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B83#FFFFFF#000000##FFFFFF
##372B831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#114153
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372b83;
/* rgb */ color: rgb(55, 43, 131);
/* oklch */ color: oklch(36.0% 0.141 282.9);
Tailwind
colors: {
  custom: {
    50: '#7665a8',
    500: '#372b83',
    950: '#000000',
  },
}
SCSS
$custom: #372b83;
$custom-light: #7665a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372b83",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 248.182,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.14107,
    "h": 282.9
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#372B83
secondary
#A4B05A
accent
#DA4EC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372B83

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

Preview Lab → · Contrast checker → · Palette generator →

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