#372AA3#372AA3

#372AA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.184 H 278.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#372AA3
RGBrgb(55, 42, 163)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.3%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.05, 42.44, -62.98)
CIE-LCHlch(27.05, 75.94, 303.97°)
OKLaboklab(38.95% 0.0268 -0.1819)
OKLCHoklch(38.95% 0.184 278.4)
XYZxyz(9.0122, 5.1117, 35.1550)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AA3 #96A32A
analogous
#2A5AA3 #372AA3 #732AA3
triadic
#372AA3 #A3372A #2AA337
tetradic
#372AA3 #A32A5A #96A32A #2AA373
square
#372AA3 #A32A5A #96A32A #2AA373
split-complementary
#372AA3 #A3732A #5AA32A
monochromatic
#161142 #271D72 #372AA3 #4D3DCD #796EDA

Accessibility & contrast

On white

10.38
#372AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AA3
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AA3#FFFFFF#000000##FFFFFF
##372AA31.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372aa3;
/* rgb */ color: rgb(55, 42, 163);
/* oklch */ color: oklch(39.0% 0.184 278.4);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#372aa3',
    950: '#000000',
  },
}
SCSS
$custom: #372aa3;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372aa3",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 246.446,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.18382,
    "h": 278.4
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#372AA3
secondary
#B7C068
accent
#E246D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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