#372BA2#372BA2

#372BA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.182 H 278.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#372BA2
RGBrgb(55, 43, 162)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 73%, 64%)
CMYKcmyk(66%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.15, 41.55, -62.21)
CIE-LCHlch(27.15, 74.81, 303.74°)
OKLaboklab(38.99% 0.0264 -0.1796)
OKLCHoklch(38.99% 0.182 278.3)
XYZxyz(8.9589, 5.1479, 34.6969)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA2 #96A22B
analogous
#2B5BA2 #372BA2 #722BA2
triadic
#372BA2 #A2372B #2BA237
tetradic
#372BA2 #A22B5B #96A22B #2BA272
square
#372BA2 #A22B5B #96A22B #2BA272
split-complementary
#372BA2 #A2722B #5BA22B
monochromatic
#161141 #271E72 #372BA2 #4D3ECC #796FD9

Accessibility & contrast

On white

10.35
#372BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#372BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BA2
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA2#FFFFFF#000000##FFFFFF
##372BA21.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372ba2;
/* rgb */ color: rgb(55, 43, 162);
/* oklch */ color: oklch(39.0% 0.182 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#372ba2',
    950: '#000000',
  },
}
SCSS
$custom: #372ba2;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba2",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 246.05,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.18152,
    "h": 278.3
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#372BA2
secondary
#B7C069
accent
#E147D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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