#372E71#372E71

#372E71 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.111 H 285.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#372E71
RGBrgb(55, 46, 113)
HSLhsl(248, 42%, 31%)
HSVhsv(248, 59%, 44%)
CMYKcmyk(51.3%, 59.3%, 0%, 55.7%)
CIE-LABlab(23.53, 23.37, -37.58)
CIE-LCHlch(23.53, 44.26, 301.88°)
OKLaboklab(35.04% 0.0292 -0.1073)
OKLCHoklch(35.04% 0.111 285.2)
XYZxyz(5.5323, 3.9582, 16.0921)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E71 #68712E
analogous
#2E4671 #372E71 #582E71
triadic
#372E71 #71372E #2E7137
tetradic
#372E71 #712E46 #68712E #2E7158
square
#372E71 #712E46 #68712E #2E7158
split-complementary
#372E71 #71582E #46712E
monochromatic
#0D0B1A #221C46 #372E71 #4C409C #695DBD

Accessibility & contrast

On white

11.72
#372E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E71
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E71#FFFFFF#000000##FFFFFF
##372E711.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#223D4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372e71;
/* rgb */ color: rgb(55, 46, 113);
/* oklch */ color: oklch(35.0% 0.111 285.2);
Tailwind
colors: {
  custom: {
    50: '#73679a',
    500: '#372e71',
    950: '#000000',
  },
}
SCSS
$custom: #372e71;
$custom-light: #73679a;
$custom-dark: #000000;
JSON
{
  "hex": "#372e71",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 248.06,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35041,
    "c": 0.11126,
    "h": 285.2
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#372E71
secondary
#98A258
accent
#D256C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #372E71

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

Preview Lab → · Contrast checker → · Palette generator →

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