#372DA3#372DA3

#372DA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.181 H 277.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#372DA3
RGBrgb(55, 45, 163)
HSLhsl(245, 57%, 41%)
HSVhsv(245, 72%, 64%)
CMYKcmyk(66.3%, 72.4%, 0%, 36.1%)
CIE-LABlab(27.66, 40.73, -61.97)
CIE-LCHlch(27.66, 74.16, 303.31°)
OKLaboklab(39.39% 0.0248 -0.1789)
OKLCHoklch(39.39% 0.181 277.9)
XYZxyz(9.1227, 5.3326, 35.1918)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DA3 #99A32D
analogous
#2D5EA3 #372DA3 #722DA3
triadic
#372DA3 #A3372D #2DA337
tetradic
#372DA3 #A32D5E #99A32D #2DA372
square
#372DA3 #A32D5E #99A32D #2DA372
split-complementary
#372DA3 #A3722D #5EA32D
monochromatic
#171343 #272073 #372DA3 #4E42CB #7B72D8

Accessibility & contrast

On white

10.16
#372DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372DA3
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DA3#FFFFFF#000000##FFFFFF
##372DA31.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372da3;
/* rgb */ color: rgb(55, 45, 163);
/* oklch */ color: oklch(39.4% 0.181 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c68bf',
    500: '#372da3',
    950: '#000000',
  },
}
SCSS
$custom: #372da3;
$custom-light: #7c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#372da3",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 245.085,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.18064,
    "h": 277.9
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#372DA3
secondary
#B9C06C
accent
#E048D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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