#372AB1#372AB1

#372AB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.201 H 276.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#372AB1
RGBrgb(55, 42, 177)
HSLhsl(246, 62%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68.9%, 76.3%, 0%, 30.6%)
CIE-LABlab(28.49, 46.90, -69.03)
CIE-LCHlch(28.49, 83.46, 304.19°)
OKLaboklab(40.4% 0.0237 -0.1995)
OKLCHoklch(40.4% 0.201 276.8)
XYZxyz(10.3367, 5.6415, 42.1306)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB1 #A4B12A
analogous
#2A60B1 #372AB1 #7B2AB1
triadic
#372AB1 #B1372A #2AB137
tetradic
#372AB1 #B12A60 #A4B12A #2AB17B
square
#372AB1 #B12A60 #A4B12A #2AB17B
split-complementary
#372AB1 #B17B2A #60B12A
monochromatic
#18134E #281E80 #372AB1 #5345D3 #8177DF

Accessibility & contrast

On white

9.87
#372AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#372AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB1
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB1#FFFFFF#000000##FFFFFF
##372AB11.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372ab1;
/* rgb */ color: rgb(55, 42, 177);
/* oklch */ color: oklch(40.4% 0.201 276.8);
Tailwind
colors: {
  custom: {
    50: '#8066ca',
    500: '#372ab1',
    950: '#000000',
  },
}
SCSS
$custom: #372ab1;
$custom-light: #8066ca;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab1",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 245.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.2009,
    "h": 276.8
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#372AB1
secondary
#BEC670
accent
#E543D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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