#372E72#372E72

#372E72 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.1% C 0.113 H 285.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#372E72
RGBrgb(55, 46, 114)
HSLhsl(248, 43%, 31%)
HSVhsv(248, 60%, 45%)
CMYKcmyk(51.8%, 59.6%, 0%, 55.3%)
CIE-LABlab(23.61, 23.71, -38.10)
CIE-LCHlch(23.61, 44.88, 301.89°)
OKLaboklab(35.12% 0.0292 -0.1089)
OKLCHoklch(35.12% 0.113 285)
XYZxyz(5.5889, 3.9808, 16.3902)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E72 #69722E
analogous
#2E4772 #372E72 #592E72
triadic
#372E72 #72372E #2E7237
tetradic
#372E72 #722E47 #69722E #2E7259
square
#372E72 #722E47 #69722E #2E7259
split-complementary
#372E72 #72592E #47722E
monochromatic
#0D0B1B #221C46 #372E72 #4C409E #6A5DBE

Accessibility & contrast

On white

11.69
#372E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#372E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E72
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E72#FFFFFF#000000##FFFFFF
##372E721.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.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: #372e72;
/* rgb */ color: rgb(55, 46, 114);
/* oklch */ color: oklch(35.1% 0.113 285.0);
Tailwind
colors: {
  custom: {
    50: '#73679b',
    500: '#372e72',
    950: '#000000',
  },
}
SCSS
$custom: #372e72;
$custom-light: #73679b;
$custom-dark: #000000;
JSON
{
  "hex": "#372e72",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 247.941,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3512,
    "c": 0.11274,
    "h": 285
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#372E72
secondary
#99A358
accent
#D256C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #372E72

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

Preview Lab → · Contrast checker → · Palette generator →

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