#372FA9#372FA9

#372FA9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.186 H 276.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#372FA9
RGBrgb(55, 47, 169)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 66%)
CMYKcmyk(67.5%, 72.2%, 0%, 33.7%)
CIE-LABlab(28.67, 41.54, -63.94)
CIE-LCHlch(28.67, 76.25, 303.01°)
OKLaboklab(40.28% 0.0224 -0.1847)
OKLCHoklch(40.28% 0.186 276.9)
XYZxyz(9.7512, 5.7090, 38.1165)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA9 #A1A92F
analogous
#2F64A9 #372FA9 #742FA9
triadic
#372FA9 #A9372F #2FA937
tetradic
#372FA9 #A92F64 #A1A92F #2FA974
square
#372FA9 #A92F64 #A1A92F #2FA974
split-complementary
#372FA9 #A9742F #64A92F
monochromatic
#181449 #272279 #372FA9 #5149CC #7F79DA

Accessibility & contrast

On white

9.80
#372FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#372FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA9
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA9#FFFFFF#000000##FFFFFF
##372FA91.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372fa9;
/* rgb */ color: rgb(55, 47, 169);
/* oklch */ color: oklch(40.3% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d69c4',
    500: '#372fa9',
    950: '#000000',
  },
}
SCSS
$custom: #372fa9;
$custom-light: #7d69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa9",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 243.934,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.18605,
    "h": 276.9
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#372FA9
secondary
#BDC272
accent
#E048D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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