#372FA0#372FA0

#372FA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.175 H 277.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#372FA0
RGBrgb(55, 47, 160)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 63%)
CMYKcmyk(65.6%, 70.6%, 0%, 37.3%)
CIE-LABlab(27.80, 38.56, -59.93)
CIE-LCHlch(27.80, 71.27, 302.76°)
OKLaboklab(39.4% 0.0239 -0.173)
OKLCHoklch(39.4% 0.175 277.9)
XYZxyz(8.9352, 5.3826, 33.8190)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372FA0 #98A02F
analogous
#2F5FA0 #372FA0 #6F2FA0
triadic
#372FA0 #A0372F #2FA037
tetradic
#372FA0 #A02F5F #98A02F #2FA06F
square
#372FA0 #A02F5F #98A02F #2FA06F
split-complementary
#372FA0 #A06F2F #5FA02F
monochromatic
#161341 #272171 #372FA0 #4D44C8 #7A73D6

Accessibility & contrast

On white

10.11
#372FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#372FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372FA0
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372FA0#FFFFFF#000000##FFFFFF
##372FA01.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372fa0;
/* rgb */ color: rgb(55, 47, 160);
/* oklch */ color: oklch(39.4% 0.175 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c69bd',
    500: '#372fa0',
    950: '#000000',
  },
}
SCSS
$custom: #372fa0;
$custom-light: #7c69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#372fa0",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 244.248,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.17461,
    "h": 277.9
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#372FA0
secondary
#B8BE6D
accent
#DE4AD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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