#372CA8#372CA8

#372CA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.188 H 277.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#372CA8
RGBrgb(55, 44, 168)
HSLhsl(245, 58%, 42%)
HSVhsv(245, 74%, 66%)
CMYKcmyk(67.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(27.95, 42.93, -64.52)
CIE-LCHlch(27.95, 77.49, 303.64°)
OKLaboklab(39.74% 0.0245 -0.1863)
OKLCHoklch(39.74% 0.188 277.5)
XYZxyz(9.5418, 5.4399, 37.5854)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CA8 #9DA82C
analogous
#2C5FA8 #372CA8 #752CA8
triadic
#372CA8 #A8372C #2CA837
tetradic
#372CA8 #A82C5F #9DA82C #2CA875
square
#372CA8 #A82C5F #9DA82C #2CA875
split-complementary
#372CA8 #A8752C #5FA82C
monochromatic
#171347 #271F78 #372CA8 #5043CE #7D74DB

Accessibility & contrast

On white

10.06
#372CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#372CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CA8
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CA8#FFFFFF#000000##FFFFFF
##372CA81.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ca8;
/* rgb */ color: rgb(55, 44, 168);
/* oklch */ color: oklch(39.7% 0.188 277.5);
Tailwind
colors: {
  custom: {
    50: '#7e67c3',
    500: '#372ca8',
    950: '#000000',
  },
}
SCSS
$custom: #372ca8;
$custom-light: #7e67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#372ca8",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 245.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.18795,
    "h": 277.5
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#372CA8
secondary
#BBC26E
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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