#372AB3#372AB3

#372AB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.203 H 276.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#372AB3
RGBrgb(55, 42, 179)
HSLhsl(246, 62%, 43%)
HSVhsv(246, 77%, 70%)
CMYKcmyk(69.3%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.70, 47.53, -69.88)
CIE-LCHlch(28.70, 84.51, 304.22°)
OKLaboklab(40.61% 0.0232 -0.202)
OKLCHoklch(40.61% 0.203 276.6)
XYZxyz(10.5375, 5.7219, 43.1882)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB3 #A6B32A
analogous
#2A62B3 #372AB3 #7B2AB3
triadic
#372AB3 #B3372A #2AB337
tetradic
#372AB3 #B32A62 #A6B32A #2AB37B
square
#372AB3 #B32A62 #A6B32A #2AB37B
split-complementary
#372AB3 #B37B2A #62B32A
monochromatic
#191350 #281E81 #372AB3 #5446D4 #8278DF

Accessibility & contrast

On white

9.79
#372AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372AB3
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB3#FFFFFF#000000##FFFFFF
##372AB31.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372ab3;
/* rgb */ color: rgb(55, 42, 179);
/* oklch */ color: oklch(40.6% 0.203 276.6);
Tailwind
colors: {
  custom: {
    50: '#8066cb',
    500: '#372ab3',
    950: '#000000',
  },
}
SCSS
$custom: #372ab3;
$custom-light: #8066cb;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab3",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 245.693,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.2033,
    "h": 276.6
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#372AB3
secondary
#BFC772
accent
#E543D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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