#372AAB#372AAB

#372AAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.194 H 277.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#372AAB
RGBrgb(55, 42, 171)
HSLhsl(246, 61%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(67.8%, 75.4%, 0%, 32.9%)
CIE-LABlab(27.87, 45.00, -66.47)
CIE-LCHlch(27.87, 80.26, 304.10°)
OKLaboklab(39.77% 0.0251 -0.192)
OKLCHoklch(39.77% 0.194 277.4)
XYZxyz(9.7518, 5.4076, 39.0500)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AAB #9EAB2A
analogous
#2A5DAB #372AAB #782AAB
triadic
#372AAB #AB372A #2AAB37
tetradic
#372AAB #AB2A5D #9EAB2A #2AAB78
square
#372AAB #AB2A5D #9EAB2A #2AAB78
split-complementary
#372AAB #AB782A #5DAB2A
monochromatic
#171249 #271E7A #372AAB #5042D1 #7D73DD

Accessibility & contrast

On white

10.09
#372AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#372AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AAB
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AAB#FFFFFF#000000##FFFFFF
##372AAB1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372aab;
/* rgb */ color: rgb(55, 42, 171);
/* oklch */ color: oklch(39.8% 0.194 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e66c5',
    500: '#372aab',
    950: '#000000',
  },
}
SCSS
$custom: #372aab;
$custom-light: #7e66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#372aab",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 246.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.19365,
    "h": 277.4
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#372AAB
secondary
#BBC46D
accent
#E444D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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