#372D76#372D76

#372D76 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.120 H 284.6°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#372D76
RGBrgb(55, 45, 118)
HSLhsl(248, 45%, 32%)
HSVhsv(248, 62%, 46%)
CMYKcmyk(53.4%, 61.9%, 0%, 53.7%)
CIE-LABlab(23.66, 25.71, -40.57)
CIE-LCHlch(23.66, 48.03, 302.36°)
OKLaboklab(35.26% 0.0304 -0.1161)
OKLCHoklch(35.26% 0.12 284.6)
XYZxyz(5.7830, 3.9967, 17.6028)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D76 #6C762D
analogous
#2D4876 #372D76 #5C2D76
triadic
#372D76 #76372D #2D7637
tetradic
#372D76 #762D48 #6C762D #2D765C
square
#372D76 #762D48 #6C762D #2D765C
split-complementary
#372D76 #765C2D #48762D
monochromatic
#0E0B1D #221C4A #372D76 #4C3EA2 #6A5CC1

Accessibility & contrast

On white

11.67
#372D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372D76
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D76#FFFFFF#000000##FFFFFF
##372D761.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#1F3E4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372d76;
/* rgb */ color: rgb(55, 45, 118);
/* oklch */ color: oklch(35.3% 0.120 284.6);
Tailwind
colors: {
  custom: {
    50: '#74669e',
    500: '#372d76',
    950: '#000000',
  },
}
SCSS
$custom: #372d76;
$custom-light: #74669e;
$custom-dark: #000000;
JSON
{
  "hex": "#372d76",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 248.219,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.12005,
    "h": 284.6
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#372D76
secondary
#9CA757
accent
#D453C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #372D76

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

Preview Lab → · Contrast checker → · Palette generator →

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