#372CAC#372CAC

#372CAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.193 H 277.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#372CAC
RGBrgb(55, 44, 172)
HSLhsl(245, 59%, 42%)
HSVhsv(245, 74%, 67%)
CMYKcmyk(68%, 74.4%, 0%, 32.5%)
CIE-LABlab(28.36, 44.22, -66.26)
CIE-LCHlch(28.36, 79.66, 303.72°)
OKLaboklab(40.15% 0.0237 -0.1914)
OKLCHoklch(40.15% 0.193 277)
XYZxyz(9.9202, 5.5913, 39.5782)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CAC #A1AC2C
analogous
#2C61AC #372CAC #772CAC
triadic
#372CAC #AC372C #2CAC37
tetradic
#372CAC #AC2C61 #A1AC2C #2CAC77
square
#372CAC #AC2C61 #A1AC2C #2CAC77
split-complementary
#372CAC #AC772C #61AC2C
monochromatic
#18134B #27207B #372CAC #5146D0 #7F76DC

Accessibility & contrast

On white

9.91
#372CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#372CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CAC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CAC#FFFFFF#000000##FFFFFF
##372CAC1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372cac;
/* rgb */ color: rgb(55, 44, 172);
/* oklch */ color: oklch(40.2% 0.193 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e67c6',
    500: '#372cac',
    950: '#000000',
  },
}
SCSS
$custom: #372cac;
$custom-light: #7e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#372cac",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 245.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.19289,
    "h": 277
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#372CAC
secondary
#BDC470
accent
#E245D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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