#372EB8#372EB8

#372EB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.206 H 275.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#372EB8
RGBrgb(55, 46, 184)
HSLhsl(244, 60%, 45%)
HSVhsv(244, 75%, 72%)
CMYKcmyk(70.1%, 75%, 0%, 27.8%)
CIE-LABlab(29.98, 46.97, -70.75)
CIE-LCHlch(29.98, 84.92, 303.58°)
OKLaboklab(41.66% 0.02 -0.2045)
OKLCHoklch(41.66% 0.206 275.6)
XYZxyz(11.2014, 6.2259, 45.9495)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EB8 #AFB82E
analogous
#2E6AB8 #372EB8 #7C2EB8
triadic
#372EB8 #B8372E #2EB837
tetradic
#372EB8 #B82E6A #AFB82E #2EB87C
square
#372EB8 #B82E6A #AFB82E #2EB87C
split-complementary
#372EB8 #B87C2E #6AB82E
monochromatic
#1A1656 #282287 #372EB8 #5950D3 #8781DF

Accessibility & contrast

On white

9.35
#372EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#372EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EB8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EB8#FFFFFF#000000##FFFFFF
##372EB81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #372eb8;
/* rgb */ color: rgb(55, 46, 184);
/* oklch */ color: oklch(41.7% 0.206 275.6);
Tailwind
colors: {
  custom: {
    50: '#8169cf',
    500: '#372eb8',
    950: '#000000',
  },
}
SCSS
$custom: #372eb8;
$custom-light: #8169cf;
$custom-dark: #000000;
JSON
{
  "hex": "#372eb8",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 243.913,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.20551,
    "h": 275.6
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#372EB8
secondary
#C3C879
accent
#E345D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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