#372CA9#372CA9

#372CA9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.189 H 277.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#372CA9
RGBrgb(55, 44, 169)
HSLhsl(245, 59%, 42%)
HSVhsv(245, 74%, 66%)
CMYKcmyk(67.5%, 74%, 0%, 33.7%)
CIE-LABlab(28.05, 43.25, -64.95)
CIE-LCHlch(28.05, 78.04, 303.66°)
OKLaboklab(39.85% 0.0243 -0.1876)
OKLCHoklch(39.85% 0.189 277.4)
XYZxyz(9.6353, 5.4773, 38.0779)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA9 #9EA92C
analogous
#2C60A9 #372CA9 #762CA9
triadic
#372CA9 #A9372C #2CA937
tetradic
#372CA9 #A92C60 #9EA92C #2CA976
square
#372CA9 #A92C60 #9EA92C #2CA976
split-complementary
#372CA9 #A9762C #60A92C
monochromatic
#171348 #271F78 #372CA9 #5044CE #7D74DB

Accessibility & contrast

On white

10.02
#372CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#372CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA9
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA9#FFFFFF#000000##FFFFFF
##372CA91.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ca9;
/* rgb */ color: rgb(55, 44, 169);
/* oklch */ color: oklch(39.8% 0.189 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e67c4',
    500: '#372ca9',
    950: '#000000',
  },
}
SCSS
$custom: #372ca9;
$custom-light: #7e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca9",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 245.28,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.18919,
    "h": 277.4
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#372CA9
secondary
#BBC36E
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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