#372D8F#372D8F

#372D8F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.155 H 280.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#372D8F
RGBrgb(55, 45, 143)
HSLhsl(246, 52%, 37%)
HSVhsv(246, 69%, 56%)
CMYKcmyk(61.5%, 68.5%, 0%, 43.9%)
CIE-LABlab(25.78, 34.10, -52.82)
CIE-LCHlch(25.78, 62.87, 302.84°)
OKLaboklab(37.46% 0.0281 -0.1521)
OKLCHoklch(37.46% 0.155 280.5)
XYZxyz(7.4703, 4.6716, 26.4893)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D8F #858F2D
analogous
#2D548F #372D8F #682D8F
triadic
#372D8F #8F372D #2D8F37
tetradic
#372D8F #8F2D54 #858F2D #2D8F68
square
#372D8F #8F2D54 #858F2D #2D8F68
split-complementary
#372D8F #8F682D #548F2D
monochromatic
#131032 #251E60 #372D8F #493CBE #7267CF

Accessibility & contrast

On white

10.86
#372D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#372D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D8F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D8F#FFFFFF#000000##FFFFFF
##372D8F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372d8f;
/* rgb */ color: rgb(55, 45, 143);
/* oklch */ color: oklch(37.5% 0.155 280.5);
Tailwind
colors: {
  custom: {
    50: '#7867b1',
    500: '#372d8f',
    950: '#000000',
  },
}
SCSS
$custom: #372d8f;
$custom-light: #7867b1;
$custom-dark: #000000;
JSON
{
  "hex": "#372d8f",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 246.122,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.15472,
    "h": 280.5
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#372D8F
secondary
#ADB662
accent
#DC4CCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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