#372DA1#372DA1

#372DA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.178 H 278.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#372DA1
RGBrgb(55, 45, 161)
HSLhsl(245, 56%, 40%)
HSVhsv(245, 72%, 63%)
CMYKcmyk(65.8%, 72%, 0%, 36.9%)
CIE-LABlab(27.47, 40.07, -61.08)
CIE-LCHlch(27.47, 73.05, 303.27°)
OKLaboklab(39.19% 0.0252 -0.1763)
OKLCHoklch(39.19% 0.178 278.1)
XYZxyz(8.9449, 5.2615, 34.2555)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DA1 #97A12D
analogous
#2D5DA1 #372DA1 #712DA1
triadic
#372DA1 #A1372D #2DA137
tetradic
#372DA1 #A12D5D #97A12D #2DA171
square
#372DA1 #A12D5D #97A12D #2DA171
split-complementary
#372DA1 #A1712D #5DA12D
monochromatic
#161241 #272071 #372DA1 #4D41CA #7A71D7

Accessibility & contrast

On white

10.23
#372DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#372DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372DA1
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DA1#FFFFFF#000000##FFFFFF
##372DA11.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372da1;
/* rgb */ color: rgb(55, 45, 161);
/* oklch */ color: oklch(39.2% 0.178 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c67be',
    500: '#372da1',
    950: '#000000',
  },
}
SCSS
$custom: #372da1;
$custom-light: #7c67be;
$custom-dark: #000000;
JSON
{
  "hex": "#372da1",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 245.172,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.17812,
    "h": 278.1
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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