#372AA8#372AA8

#372AA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.190 H 277.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#372AA8
RGBrgb(55, 42, 168)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 66%)
CMYKcmyk(67.3%, 75%, 0%, 34.1%)
CIE-LABlab(27.56, 44.04, -65.17)
CIE-LCHlch(27.56, 78.65, 304.05°)
OKLaboklab(39.46% 0.0257 -0.1882)
OKLCHoklch(39.46% 0.19 277.8)
XYZxyz(9.4691, 5.2945, 37.5611)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA8 #9BA82A
analogous
#2A5CA8 #372AA8 #762AA8
triadic
#372AA8 #A8372A #2AA837
tetradic
#372AA8 #A82A5C #9BA82A #2AA876
square
#372AA8 #A82A5C #9BA82A #2AA876
split-complementary
#372AA8 #A8762A #5CA82A
monochromatic
#171246 #271E77 #372AA8 #4F40CF #7C71DB

Accessibility & contrast

On white

10.20
#372AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#372AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA8
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA8#FFFFFF#000000##FFFFFF
##372AA81.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372aa8;
/* rgb */ color: rgb(55, 42, 168);
/* oklch */ color: oklch(39.5% 0.190 277.8);
Tailwind
colors: {
  custom: {
    50: '#7e66c3',
    500: '#372aa8',
    950: '#000000',
  },
}
SCSS
$custom: #372aa8;
$custom-light: #7e66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa8",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 246.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.18999,
    "h": 277.8
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#372AA8
secondary
#BAC36B
accent
#E345D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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