#372EA6#372EA6

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

Color values

HEX#372EA6
RGBrgb(55, 46, 166)
HSLhsl(245, 57%, 42%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(66.9%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.16, 41.13, -62.96)
CIE-LCHlch(28.16, 75.21, 303.16°)
OKLaboklab(39.83% 0.0236 -0.1818)
OKLCHoklch(39.83% 0.183 277.4)
XYZxyz(9.4332, 5.5186, 36.6371)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA6 #9DA62E
analogous
#2E61A6 #372EA6 #732EA6
triadic
#372EA6 #A6372E #2EA637
tetradic
#372EA6 #A62E61 #9DA62E #2EA673
square
#372EA6 #A62E61 #9DA62E #2EA673
split-complementary
#372EA6 #A6732E #61A62E
monochromatic
#171346 #272176 #372EA6 #5046CC #7D76D9

Accessibility & contrast

On white

9.98
#372EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372EA6
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA6#FFFFFF#000000##FFFFFF
##372EA61.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ea6;
/* rgb */ color: rgb(55, 46, 166);
/* oklch */ color: oklch(39.8% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d68c2',
    500: '#372ea6',
    950: '#000000',
  },
}
SCSS
$custom: #372ea6;
$custom-light: #7d68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea6",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 244.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.18335,
    "h": 277.4
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#372EA6
secondary
#BBC16F
accent
#E048D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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