#372BAB#372BAB

#372BAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.193 H 277.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#372BAB
RGBrgb(55, 43, 171)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(67.8%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.06, 44.45, -66.15)
CIE-LCHlch(28.06, 79.69, 303.90°)
OKLaboklab(39.91% 0.0245 -0.1911)
OKLCHoklch(39.91% 0.193 277.3)
XYZxyz(9.7877, 5.4794, 39.0620)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372BAB #9FAB2B
analogous
#2B5FAB #372BAB #772BAB
triadic
#372BAB #AB372B #2BAB37
tetradic
#372BAB #AB2B5F #9FAB2B #2BAB77
square
#372BAB #AB2B5F #9FAB2B #2BAB77
split-complementary
#372BAB #AB772B #5FAB2B
monochromatic
#181249 #271F7A #372BAB #5143D0 #7E74DC

Accessibility & contrast

On white

10.02
#372BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#372BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372BAB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372BAB#FFFFFF#000000##FFFFFF
##372BAB1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372bab;
/* rgb */ color: rgb(55, 43, 171);
/* oklch */ color: oklch(39.9% 0.193 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e67c5',
    500: '#372bab',
    950: '#000000',
  },
}
SCSS
$custom: #372bab;
$custom-light: #7e67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372bab",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 245.625,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.19266,
    "h": 277.3
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#372BAB
secondary
#BCC46E
accent
#E345D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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