#372EA4#372EA4

#372EA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.181 H 277.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#372EA4
RGBrgb(55, 46, 164)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 72%, 64%)
CMYKcmyk(66.5%, 72%, 0%, 35.7%)
CIE-LABlab(27.97, 40.48, -62.07)
CIE-LCHlch(27.97, 74.11, 303.11°)
OKLaboklab(39.64% 0.024 -0.1792)
OKLCHoklch(39.64% 0.181 277.6)
XYZxyz(9.2512, 5.4458, 35.6784)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA4 #9BA42E
analogous
#2E60A4 #372EA4 #722EA4
triadic
#372EA4 #A4372E #2EA437
tetradic
#372EA4 #A42E60 #9BA42E #2EA472
square
#372EA4 #A42E60 #9BA42E #2EA472
split-complementary
#372EA4 #A4722E #60A42E
monochromatic
#171344 #272174 #372EA4 #4F45CB #7C74D8

Accessibility & contrast

On white

10.05
#372EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#372EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EA4
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA4#FFFFFF#000000##FFFFFF
##372EA41.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ea4;
/* rgb */ color: rgb(55, 46, 164);
/* oklch */ color: oklch(39.6% 0.181 277.6);
Tailwind
colors: {
  custom: {
    50: '#7c68c0',
    500: '#372ea4',
    950: '#000000',
  },
}
SCSS
$custom: #372ea4;
$custom-light: #7c68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea4",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 244.576,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.18082,
    "h": 277.6
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#372EA4
secondary
#BAC06E
accent
#DF48D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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