#372AB5#372AB5

#372AB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.206 H 276.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#372AB5
RGBrgb(55, 42, 181)
HSLhsl(246, 62%, 44%)
HSVhsv(246, 77%, 71%)
CMYKcmyk(69.6%, 76.8%, 0%, 29%)
CIE-LABlab(28.91, 48.16, -70.72)
CIE-LCHlch(28.91, 85.56, 304.25°)
OKLaboklab(40.82% 0.0228 -0.2044)
OKLCHoklch(40.82% 0.206 276.4)
XYZxyz(10.7413, 5.8034, 44.2612)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB5 #A8B52A
analogous
#2A62B5 #372AB5 #7C2AB5
triadic
#372AB5 #B5372A #2AB537
tetradic
#372AB5 #B52A62 #A8B52A #2AB57C
square
#372AB5 #B52A62 #A8B52A #2AB57C
split-complementary
#372AB5 #B57C2A #62B52A
monochromatic
#191352 #281E83 #372AB5 #5548D4 #8379E0

Accessibility & contrast

On white

9.72
#372AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#372AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB5#FFFFFF#000000##FFFFFF
##372AB51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372ab5;
/* rgb */ color: rgb(55, 42, 181);
/* oklch */ color: oklch(40.8% 0.206 276.4);
Tailwind
colors: {
  custom: {
    50: '#8067cc',
    500: '#372ab5',
    950: '#000000',
  },
}
SCSS
$custom: #372ab5;
$custom-light: #8067cc;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab5",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 245.612,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4082,
    "c": 0.20568,
    "h": 276.4
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#372AB5
secondary
#C0C873
accent
#E542D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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