#372FA8#372FA8

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

Color values

HEX#372FA8
RGBrgb(55, 47, 168)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 66%)
CMYKcmyk(67.3%, 72%, 0%, 34.1%)
CIE-LABlab(28.57, 41.21, -63.50)
CIE-LCHlch(28.57, 75.70, 302.98°)
OKLaboklab(40.18% 0.0226 -0.1834)
OKLCHoklch(40.18% 0.185 277)
XYZxyz(9.6576, 5.6716, 37.6240)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA8 #A0A82F
analogous
#2F64A8 #372FA8 #742FA8
triadic
#372FA8 #A8372F #2FA837
tetradic
#372FA8 #A82F64 #A0A82F #2FA874
square
#372FA8 #A82F64 #A0A82F #2FA874
split-complementary
#372FA8 #A8742F #64A82F
monochromatic
#181448 #272278 #372FA8 #5148CC #7F78D9

Accessibility & contrast

On white

9.84
#372FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372FA8
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA8#FFFFFF#000000##FFFFFF
##372FA81.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372fa8;
/* rgb */ color: rgb(55, 47, 168);
/* oklch */ color: oklch(40.2% 0.185 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d69c3',
    500: '#372fa8',
    950: '#000000',
  },
}
SCSS
$custom: #372fa8;
$custom-light: #7d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa8",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 243.967,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.18479,
    "h": 277
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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