#372B9C#372B9C

#372B9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.174 H 279.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#372B9C
RGBrgb(55, 43, 156)
HSLhsl(246, 57%, 39%)
HSVhsv(246, 72%, 61%)
CMYKcmyk(64.7%, 72.4%, 0%, 38.8%)
CIE-LABlab(26.56, 39.60, -59.53)
CIE-LCHlch(26.56, 71.49, 303.63°)
OKLaboklab(38.4% 0.0276 -0.1718)
OKLCHoklch(38.4% 0.174 279.1)
XYZxyz(8.4383, 4.9396, 31.9548)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B9C #909C2B
analogous
#2B589C #372B9C #702B9C
triadic
#372B9C #9C372B #2B9C37
tetradic
#372B9C #9C2B58 #909C2B #2B9C70
square
#372B9C #9C2B58 #909C2B #2B9C70
split-complementary
#372B9C #9C702B #589C2B
monochromatic
#15113C #261E6C #372B9C #4A3BC9 #776BD6

Accessibility & contrast

On white

10.56
#372B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#372B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B9C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B9C#FFFFFF#000000##FFFFFF
##372B9C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372b9c;
/* rgb */ color: rgb(55, 43, 156);
/* oklch */ color: oklch(38.4% 0.174 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b66ba',
    500: '#372b9c',
    950: '#000000',
  },
}
SCSS
$custom: #372b9c;
$custom-light: #7b66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372b9c",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 246.372,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.17397,
    "h": 279.1
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#372B9C
secondary
#B4BD66
accent
#E048D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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