#372AA6#372AA6

#372AA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.188 H 278.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#372AA6
RGBrgb(55, 42, 166)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 65%)
CMYKcmyk(66.9%, 74.7%, 0%, 34.9%)
CIE-LABlab(27.35, 43.40, -64.30)
CIE-LCHlch(27.35, 77.57, 304.02°)
OKLaboklab(39.26% 0.0262 -0.1857)
OKLCHoklch(39.26% 0.188 278)
XYZxyz(9.2842, 5.2205, 36.5874)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA6 #99A62A
analogous
#2A5BA6 #372AA6 #752AA6
triadic
#372AA6 #A6372A #2AA637
tetradic
#372AA6 #A62A5B #99A62A #2AA675
square
#372AA6 #A62A5B #99A62A #2AA675
split-complementary
#372AA6 #A6752A #5BA62A
monochromatic
#171144 #271E75 #372AA6 #4E3FCE #7B70DB

Accessibility & contrast

On white

10.27
#372AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#372AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA6
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA6#FFFFFF#000000##FFFFFF
##372AA61.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372aa6;
/* rgb */ color: rgb(55, 42, 166);
/* oklch */ color: oklch(39.3% 0.188 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#372aa6',
    950: '#000000',
  },
}
SCSS
$custom: #372aa6;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa6",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 246.29,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.18752,
    "h": 278
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#372AA6
secondary
#B9C26A
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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