#372BA4#372BA4

#372BA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.184 H 278.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#372BA4
RGBrgb(55, 43, 164)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.5%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.35, 42.20, -63.09)
CIE-LCHlch(27.35, 75.90, 303.78°)
OKLaboklab(39.2% 0.026 -0.1822)
OKLCHoklch(39.2% 0.184 278.1)
XYZxyz(9.1381, 5.2195, 35.6407)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BA4 #98A42B
analogous
#2B5CA4 #372BA4 #732BA4
triadic
#372BA4 #A4372B #2BA437
tetradic
#372BA4 #A42B5C #98A42B #2BA473
square
#372BA4 #A42B5C #98A42B #2BA473
split-complementary
#372BA4 #A4732B #5CA42B
monochromatic
#161243 #271E74 #372BA4 #4D3FCD #7A70D9

Accessibility & contrast

On white

10.27
#372BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372BA4
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BA4#FFFFFF#000000##FFFFFF
##372BA41.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372ba4;
/* rgb */ color: rgb(55, 43, 164);
/* oklch */ color: oklch(39.2% 0.184 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d66c0',
    500: '#372ba4',
    950: '#000000',
  },
}
SCSS
$custom: #372ba4;
$custom-light: #7d66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372ba4",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 245.95,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.18402,
    "h": 278.1
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#372BA4
secondary
#B8C16A
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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