#372C8C#372C8C

#372C8C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.152 H 281.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#372C8C
RGBrgb(55, 44, 140)
HSLhsl(247, 52%, 36%)
HSVhsv(247, 69%, 55%)
CMYKcmyk(60.7%, 68.6%, 0%, 45.1%)
CIE-LABlab(25.28, 33.71, -51.78)
CIE-LCHlch(25.28, 61.79, 303.07°)
OKLaboklab(37.02% 0.0294 -0.1491)
OKLCHoklch(37.02% 0.152 281.2)
XYZxyz(7.2084, 4.5065, 25.2959)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C8C #818C2C
analogous
#2C518C #372C8C #672C8C
triadic
#372C8C #8C372C #2C8C37
tetradic
#372C8C #8C2C51 #818C2C #2C8C67
square
#372C8C #8C2C51 #818C2C #2C8C67
split-complementary
#372C8C #8C672C #518C2C
monochromatic
#120F2F #251D5D #372C8C #493BBB #7064CE

Accessibility & contrast

On white

11.04
#372C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C8C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C8C#FFFFFF#000000##FFFFFF
##372C8C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372c8c;
/* rgb */ color: rgb(55, 44, 140);
/* oklch */ color: oklch(37.0% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#7866ae',
    500: '#372c8c',
    950: '#000000',
  },
}
SCSS
$custom: #372c8c;
$custom-light: #7866ae;
$custom-dark: #000000;
JSON
{
  "hex": "#372c8c",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 246.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.15196,
    "h": 281.2
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#372C8C
secondary
#ABB55F
accent
#DC4CCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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