#372CAB#372CAB

#372CAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.192 H 277.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#372CAB
RGBrgb(55, 44, 171)
HSLhsl(245, 59%, 42%)
HSVhsv(245, 74%, 67%)
CMYKcmyk(67.8%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.26, 43.90, -65.82)
CIE-LCHlch(28.26, 79.12, 303.70°)
OKLaboklab(40.05% 0.0239 -0.1902)
OKLCHoklch(40.05% 0.192 277.2)
XYZxyz(9.8245, 5.5530, 39.0743)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CAB #A0AB2C
analogous
#2C60AB #372CAB #772CAB
triadic
#372CAB #AB372C #2CAB37
tetradic
#372CAB #AB2C60 #A0AB2C #2CAB77
square
#372CAB #AB2C60 #A0AB2C #2CAB77
split-complementary
#372CAB #AB772C #60AB2C
monochromatic
#18134A #271F7A #372CAB #5145CF #7F76DC

Accessibility & contrast

On white

9.95
#372CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#372CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CAB
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CAB#FFFFFF#000000##FFFFFF
##372CAB1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372cab;
/* rgb */ color: rgb(55, 44, 171);
/* oklch */ color: oklch(40.0% 0.192 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e67c5',
    500: '#372cab',
    950: '#000000',
  },
}
SCSS
$custom: #372cab;
$custom-light: #7e67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372cab",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 245.197,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.19165,
    "h": 277.2
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#372CAB
secondary
#BCC36F
accent
#E246D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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