#372D72#372D72

#372D72 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.114 H 285.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#372D72
RGBrgb(55, 45, 114)
HSLhsl(249, 43%, 31%)
HSVhsv(249, 61%, 45%)
CMYKcmyk(51.8%, 60.5%, 0%, 55.3%)
CIE-LABlab(23.35, 24.37, -38.52)
CIE-LCHlch(23.35, 45.58, 302.32°)
OKLaboklab(34.93% 0.0305 -0.1101)
OKLCHoklch(34.93% 0.114 285.5)
XYZxyz(5.5503, 3.9036, 16.3773)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D72 #68722D
analogous
#2D4572 #372D72 #592D72
triadic
#372D72 #72372D #2D7237
tetradic
#372D72 #722D45 #68722D #2D7259
square
#372D72 #722D45 #68722D #2D7259
split-complementary
#372D72 #72592D #45722D
monochromatic
#0D0A1A #221C46 #372D72 #4C3E9E #695BBE

Accessibility & contrast

On white

11.79
#372D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372D72
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D72#FFFFFF#000000##FFFFFF
##372D721.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#223D4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372d72;
/* rgb */ color: rgb(55, 45, 114);
/* oklch */ color: oklch(34.9% 0.114 285.5);
Tailwind
colors: {
  custom: {
    50: '#73669b',
    500: '#372d72',
    950: '#000000',
  },
}
SCSS
$custom: #372d72;
$custom-light: #73669b;
$custom-dark: #000000;
JSON
{
  "hex": "#372d72",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 248.696,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.11424,
    "h": 285.5
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#372D72
secondary
#98A357
accent
#D355C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #372D72

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

Preview Lab → · Contrast checker → · Palette generator →

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