#372BA3#372BA3

#372BA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.183 H 278.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#372BA3
RGBrgb(55, 43, 163)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.3%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.25, 41.87, -62.65)
CIE-LCHlch(27.25, 75.36, 303.76°)
OKLaboklab(39.1% 0.0262 -0.1809)
OKLCHoklch(39.1% 0.183 278.2)
XYZxyz(9.0482, 5.1836, 35.1669)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA3 #97A32B
analogous
#2B5BA3 #372BA3 #732BA3
triadic
#372BA3 #A3372B #2BA337
tetradic
#372BA3 #A32B5B #97A32B #2BA373
square
#372BA3 #A32B5B #97A32B #2BA373
split-complementary
#372BA3 #A3732B #5BA32B
monochromatic
#161142 #271E73 #372BA3 #4D3FCC #7A6FD9

Accessibility & contrast

On white

10.31
#372BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#372BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA3
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA3#FFFFFF#000000##FFFFFF
##372BA31.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372ba3;
/* rgb */ color: rgb(55, 43, 163);
/* oklch */ color: oklch(39.1% 0.183 278.2);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#372ba3',
    950: '#000000',
  },
}
SCSS
$custom: #372ba3;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba3",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 246,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39095,
    "c": 0.18278,
    "h": 278.2
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#372BA3
secondary
#B8C06A
accent
#E146D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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