#372AAC#372AAC

#372AAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.195 H 277.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#372AAC
RGBrgb(55, 42, 172)
HSLhsl(246, 61%, 42%)
HSVhsv(246, 76%, 67%)
CMYKcmyk(68%, 75.6%, 0%, 32.5%)
CIE-LABlab(27.97, 45.32, -66.90)
CIE-LCHlch(27.97, 80.80, 304.11°)
OKLaboklab(39.88% 0.0248 -0.1933)
OKLCHoklch(39.88% 0.195 277.3)
XYZxyz(9.8475, 5.4458, 39.5539)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AAC #9FAC2A
analogous
#2A5EAC #372AAC #782AAC
triadic
#372AAC #AC372A #2AAC37
tetradic
#372AAC #AC2A5E #9FAC2A #2AAC78
square
#372AAC #AC2A5E #9FAC2A #2AAC78
split-complementary
#372AAC #AC782A #5EAC2A
monochromatic
#18124A #271E7B #372AAC #5142D1 #7E73DD

Accessibility & contrast

On white

10.05
#372AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#372AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AAC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AAC#FFFFFF#000000##FFFFFF
##372AAC1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372aac;
/* rgb */ color: rgb(55, 42, 172);
/* oklch */ color: oklch(39.9% 0.195 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f66c6',
    500: '#372aac',
    950: '#000000',
  },
}
SCSS
$custom: #372aac;
$custom-light: #7f66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#372aac",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 246,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.19487,
    "h": 277.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#372AAC
secondary
#BCC46D
accent
#E444D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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