#372E76#372E76

#372E76 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.4% C 0.119 H 284.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#372E76
RGBrgb(55, 46, 118)
HSLhsl(248, 44%, 32%)
HSVhsv(248, 61%, 46%)
CMYKcmyk(53.4%, 61%, 0%, 53.7%)
CIE-LABlab(23.91, 25.05, -40.16)
CIE-LCHlch(23.91, 47.33, 301.95°)
OKLaboklab(35.44% 0.0292 -0.1149)
OKLCHoklch(35.44% 0.119 284.2)
XYZxyz(5.8216, 4.0739, 17.6156)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E76 #6D762E
analogous
#2E4976 #372E76 #5B2E76
triadic
#372E76 #76372E #2E7637
tetradic
#372E76 #762E49 #6D762E #2E765B
square
#372E76 #762E49 #6D762E #2E765B
split-complementary
#372E76 #765B2E #49762E
monochromatic
#0E0C1E #221D4A #372E76 #4C3FA2 #6A5EC0

Accessibility & contrast

On white

11.57
#372E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E76
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E76#FFFFFF#000000##FFFFFF
##372E761.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#1F3F4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372e76;
/* rgb */ color: rgb(55, 46, 118);
/* oklch */ color: oklch(35.4% 0.119 284.2);
Tailwind
colors: {
  custom: {
    50: '#74679e',
    500: '#372e76',
    950: '#000000',
  },
}
SCSS
$custom: #372e76;
$custom-light: #74679e;
$custom-dark: #000000;
JSON
{
  "hex": "#372e76",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 247.5,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.11859,
    "h": 284.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#372E76
secondary
#9DA759
accent
#D454C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #372E76

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

Preview Lab → · Contrast checker → · Palette generator →

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