#372D71#372D71

#372D71 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.113 H 285.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#372D71
RGBrgb(55, 45, 113)
HSLhsl(249, 43%, 31%)
HSVhsv(249, 60%, 44%)
CMYKcmyk(51.3%, 60.2%, 0%, 55.7%)
CIE-LABlab(23.27, 24.04, -38.00)
CIE-LCHlch(23.27, 44.96, 302.31°)
OKLaboklab(34.85% 0.0305 -0.1086)
OKLCHoklch(34.85% 0.113 285.7)
XYZxyz(5.4937, 3.8810, 16.0792)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D71 #67712D
analogous
#2D4571 #372D71 #592D71
triadic
#372D71 #71372D #2D7137
tetradic
#372D71 #712D45 #67712D #2D7159
square
#372D71 #712D45 #67712D #2D7159
split-complementary
#372D71 #71592D #45712D
monochromatic
#0C0A19 #221C45 #372D71 #4C3E9D #695BBE

Accessibility & contrast

On white

11.82
#372D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D71
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D71#FFFFFF#000000##FFFFFF
##372D711.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#233C4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372d71;
/* rgb */ color: rgb(55, 45, 113);
/* oklch */ color: oklch(34.8% 0.113 285.7);
Tailwind
colors: {
  custom: {
    50: '#73669a',
    500: '#372d71',
    950: '#000000',
  },
}
SCSS
$custom: #372d71;
$custom-light: #73669a;
$custom-dark: #000000;
JSON
{
  "hex": "#372d71",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 248.824,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34849,
    "c": 0.11278,
    "h": 285.7
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#372D71
secondary
#97A357
accent
#D355C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #372D71

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

Preview Lab → · Contrast checker → · Palette generator →

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