#372AB9#372AB9

#372AB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.210 H 275.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#372AB9
RGBrgb(55, 42, 185)
HSLhsl(245, 63%, 45%)
HSVhsv(245, 77%, 73%)
CMYKcmyk(70.3%, 77.3%, 0%, 27.5%)
CIE-LABlab(29.34, 49.40, -72.40)
CIE-LCHlch(29.34, 87.65, 304.31°)
OKLaboklab(41.25% 0.0218 -0.2093)
OKLCHoklch(41.25% 0.21 275.9)
XYZxyz(11.1576, 5.9699, 46.4538)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB9 #ACB92A
analogous
#2A64B9 #372AB9 #7F2AB9
triadic
#372AB9 #B9372A #2AB937
tetradic
#372AB9 #B92A64 #ACB92A #2AB97F
square
#372AB9 #B92A64 #ACB92A #2AB97F
split-complementary
#372AB9 #B97F2A #64B92A
monochromatic
#191355 #281F87 #372AB9 #574AD6 #857CE1

Accessibility & contrast

On white

9.57
#372AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#372AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB9#FFFFFF#000000##FFFFFF
##372AB91.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #372ab9;
/* rgb */ color: rgb(55, 42, 185);
/* oklch */ color: oklch(41.2% 0.210 275.9);
Tailwind
colors: {
  custom: {
    50: '#8167cf',
    500: '#372ab9',
    950: '#000000',
  },
}
SCSS
$custom: #372ab9;
$custom-light: #8167cf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab9",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 245.455,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.21042,
    "h": 275.9
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#372AB9
secondary
#C2CA75
accent
#E642D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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