#372C9F#372C9F

#372C9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.177 H 278.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#372C9F
RGBrgb(55, 44, 159)
HSLhsl(246, 57%, 40%)
HSVhsv(246, 72%, 62%)
CMYKcmyk(65.4%, 72.3%, 0%, 37.6%)
CIE-LABlab(27.06, 40.00, -60.53)
CIE-LCHlch(27.06, 72.55, 303.46°)
OKLaboklab(38.84% 0.0263 -0.1747)
OKLCHoklch(38.84% 0.177 278.6)
XYZxyz(8.7322, 5.1161, 33.3215)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C9F #949F2C
analogous
#2C5B9F #372C9F #702C9F
triadic
#372C9F #9F372C #2C9F37
tetradic
#372C9F #9F2C5B #949F2C #2C9F70
square
#372C9F #9F2C5B #949F2C #2C9F70
split-complementary
#372C9F #9F702C #5B9F2C
monochromatic
#16113F #261F6F #372C9F #4C3ECA #786ED7

Accessibility & contrast

On white

10.38
#372C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C9F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C9F#FFFFFF#000000##FFFFFF
##372C9F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372c9f;
/* rgb */ color: rgb(55, 44, 159);
/* oklch */ color: oklch(38.8% 0.177 278.6);
Tailwind
colors: {
  custom: {
    50: '#7c67bc',
    500: '#372c9f',
    950: '#000000',
  },
}
SCSS
$custom: #372c9f;
$custom-light: #7c67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372c9f",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 245.739,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.17667,
    "h": 278.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#372C9F
secondary
#B6BE69
accent
#E048D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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