#372EAB#372EAB

#372EAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.190 H 276.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#372EAB
RGBrgb(55, 46, 171)
HSLhsl(244, 58%, 43%)
HSVhsv(244, 73%, 67%)
CMYKcmyk(67.8%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.66, 42.77, -65.16)
CIE-LCHlch(28.66, 77.95, 303.28°)
OKLaboklab(40.33% 0.0227 -0.1882)
OKLCHoklch(40.33% 0.19 276.9)
XYZxyz(9.9008, 5.7056, 39.0997)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EAB #A2AB2E
analogous
#2E63AB #372EAB #752EAB
triadic
#372EAB #AB372E #2EAB37
tetradic
#372EAB #AB2E63 #A2AB2E #2EAB75
square
#372EAB #AB2E63 #A2AB2E #2EAB75
split-complementary
#372EAB #AB752E #63AB2E
monochromatic
#18144B #27217B #372EAB #5248CE #8079DB

Accessibility & contrast

On white

9.81
#372EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#372EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372EAB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EAB#FFFFFF#000000##FFFFFF
##372EAB1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372eab;
/* rgb */ color: rgb(55, 46, 171);
/* oklch */ color: oklch(40.3% 0.190 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e68c5',
    500: '#372eab',
    950: '#000000',
  },
}
SCSS
$custom: #372eab;
$custom-light: #7e68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372eab",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 244.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.1896,
    "h": 276.9
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#372EAB
secondary
#BDC372
accent
#E147D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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