#372DA4#372DA4

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

Color values

HEX#372DA4
RGBrgb(55, 45, 164)
HSLhsl(245, 57%, 41%)
HSVhsv(245, 73%, 64%)
CMYKcmyk(66.5%, 72.6%, 0%, 35.7%)
CIE-LABlab(27.76, 41.06, -62.42)
CIE-LCHlch(27.76, 74.71, 303.34°)
OKLaboklab(39.49% 0.0246 -0.1802)
OKLCHoklch(39.49% 0.182 277.8)
XYZxyz(9.2126, 5.3686, 35.6655)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DA4 #9AA42D
analogous
#2D5EA4 #372DA4 #722DA4
triadic
#372DA4 #A4372D #2DA437
tetradic
#372DA4 #A42D5E #9AA42D #2DA472
square
#372DA4 #A42D5E #9AA42D #2DA472
split-complementary
#372DA4 #A4722D #5EA42D
monochromatic
#171344 #272074 #372DA4 #4E43CB #7B73D9

Accessibility & contrast

On white

10.13
#372DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#372DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372DA4
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DA4#FFFFFF#000000##FFFFFF
##372DA41.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372da4;
/* rgb */ color: rgb(55, 45, 164);
/* oklch */ color: oklch(39.5% 0.182 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d68c0',
    500: '#372da4',
    950: '#000000',
  },
}
SCSS
$custom: #372da4;
$custom-light: #7d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#372da4",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 245.042,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.18191,
    "h": 277.8
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#372DA4
secondary
#B9C06D
accent
#E048D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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