#372DA0#372DA0

#372DA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.177 H 278.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#372DA0
RGBrgb(55, 45, 160)
HSLhsl(245, 56%, 40%)
HSVhsv(245, 72%, 63%)
CMYKcmyk(65.6%, 71.9%, 0%, 37.3%)
CIE-LABlab(27.37, 39.74, -60.63)
CIE-LCHlch(27.37, 72.50, 303.24°)
OKLaboklab(39.09% 0.0254 -0.175)
OKLCHoklch(39.09% 0.177 278.3)
XYZxyz(8.8571, 5.2263, 33.7929)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DA0 #96A02D
analogous
#2D5DA0 #372DA0 #702DA0
triadic
#372DA0 #A0372D #2DA037
tetradic
#372DA0 #A02D5D #96A02D #2DA070
square
#372DA0 #A02D5D #96A02D #2DA070
split-complementary
#372DA0 #A0702D #5DA02D
monochromatic
#161240 #272070 #372DA0 #4D41C9 #7970D7

Accessibility & contrast

On white

10.27
#372DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372DA0
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372DA0#FFFFFF#000000##FFFFFF
##372DA01.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372da0;
/* rgb */ color: rgb(55, 45, 160);
/* oklch */ color: oklch(39.1% 0.177 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c67bd',
    500: '#372da0',
    950: '#000000',
  },
}
SCSS
$custom: #372da0;
$custom-light: #7c67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#372da0",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 245.217,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.17685,
    "h": 278.3
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#372DA0
secondary
#B7BE6B
accent
#DF48D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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