#372EA3#372EA3

#372EA3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.180 H 277.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#372EA3
RGBrgb(55, 46, 163)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 72%, 64%)
CMYKcmyk(66.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.87, 40.15, -61.63)
CIE-LCHlch(27.87, 73.55, 303.08°)
OKLaboklab(39.54% 0.0241 -0.1779)
OKLCHoklch(39.54% 0.18 277.7)
XYZxyz(9.1613, 5.4098, 35.2046)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA3 #9AA32E
analogous
#2E5FA3 #372EA3 #712EA3
triadic
#372EA3 #A3372E #2EA337
tetradic
#372EA3 #A32E5F #9AA32E #2EA371
square
#372EA3 #A32E5F #9AA32E #2EA371
split-complementary
#372EA3 #A3712E #5FA32E
monochromatic
#171344 #272173 #372EA3 #4E44CA #7B74D8

Accessibility & contrast

On white

10.09
#372EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372EA3
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA3#FFFFFF#000000##FFFFFF
##372EA31.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ea3;
/* rgb */ color: rgb(55, 46, 163);
/* oklch */ color: oklch(39.5% 0.180 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c68bf',
    500: '#372ea3',
    950: '#000000',
  },
}
SCSS
$custom: #372ea3;
$custom-light: #7c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea3",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 244.615,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.17956,
    "h": 277.7
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#372EA3
secondary
#B9BF6D
accent
#DF49D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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