#372EA2#372EA2

#372EA2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.178 H 277.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#372EA2
RGBrgb(55, 46, 162)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 72%, 64%)
CMYKcmyk(66%, 71.6%, 0%, 36.5%)
CIE-LABlab(27.77, 39.82, -61.18)
CIE-LCHlch(27.77, 73.00, 303.06°)
OKLaboklab(39.44% 0.0243 -0.1766)
OKLCHoklch(39.44% 0.178 277.8)
XYZxyz(9.0720, 5.3741, 34.7346)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA2 #99A22E
analogous
#2E5FA2 #372EA2 #712EA2
triadic
#372EA2 #A2372E #2EA237
tetradic
#372EA2 #A22E5F #99A22E #2EA271
square
#372EA2 #A22E5F #99A22E #2EA271
split-complementary
#372EA2 #A2712E #5FA22E
monochromatic
#171343 #272072 #372EA2 #4E43CA #7B73D7

Accessibility & contrast

On white

10.12
#372EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372EA2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA2#FFFFFF#000000##FFFFFF
##372EA21.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ea2;
/* rgb */ color: rgb(55, 46, 162);
/* oklch */ color: oklch(39.4% 0.178 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c68bf',
    500: '#372ea2',
    950: '#000000',
  },
}
SCSS
$custom: #372ea2;
$custom-light: #7c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea2",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 244.655,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.17829,
    "h": 277.8
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#372EA2
secondary
#B9BF6D
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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