#372DAB#372DAB

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

Color values

HEX#372DAB
RGBrgb(55, 45, 171)
HSLhsl(245, 58%, 42%)
HSVhsv(245, 74%, 67%)
CMYKcmyk(67.8%, 73.7%, 0%, 32.9%)
CIE-LABlab(28.45, 43.34, -65.49)
CIE-LCHlch(28.45, 78.53, 303.49°)
OKLaboklab(40.19% 0.0233 -0.1892)
OKLCHoklch(40.19% 0.191 277)
XYZxyz(9.8622, 5.6284, 39.0868)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DAB #A1AB2D
analogous
#2D62AB #372DAB #762DAB
triadic
#372DAB #AB372D #2DAB37
tetradic
#372DAB #AB2D62 #A1AB2D #2DAB76
square
#372DAB #AB2D62 #A1AB2D #2DAB76
split-complementary
#372DAB #AB762D #62AB2D
monochromatic
#18144A #27207B #372DAB #5147CE #7F77DB

Accessibility & contrast

On white

9.88
#372DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#372DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372DAB
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DAB#FFFFFF#000000##FFFFFF
##372DAB1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372dab;
/* rgb */ color: rgb(55, 45, 171);
/* oklch */ color: oklch(40.2% 0.191 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e68c5',
    500: '#372dab',
    950: '#000000',
  },
}
SCSS
$custom: #372dab;
$custom-light: #7e68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372dab",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 244.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.19064,
    "h": 277
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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