#372A87#372A87

#372A87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.148 H 282.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#372A87
RGBrgb(55, 42, 135)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 69%, 53%)
CMYKcmyk(59.3%, 68.9%, 0%, 47.1%)
CIE-LABlab(24.38, 33.28, -50.14)
CIE-LCHlch(24.38, 60.18, 303.57°)
OKLaboklab(36.23% 0.0319 -0.1443)
OKLCHoklch(36.23% 0.148 282.5)
XYZxyz(6.7753, 4.2170, 23.3739)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A87 #7A872A
analogous
#2A4C87 #372A87 #662A87
triadic
#372A87 #87372A #2A8737
tetradic
#372A87 #872A4C #7A872A #2A8766
square
#372A87 #872A4C #7A872A #2A8766
split-complementary
#372A87 #87662A #4C872A
monochromatic
#110D2A #241B58 #372A87 #4A39B6 #6E5ECD

Accessibility & contrast

On white

11.39
#372A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A87
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A87#FFFFFF#000000##FFFFFF
##372A871.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#094255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372a87;
/* rgb */ color: rgb(55, 42, 135);
/* oklch */ color: oklch(36.2% 0.148 282.5);
Tailwind
colors: {
  custom: {
    50: '#7765ab',
    500: '#372a87',
    950: '#000000',
  },
}
SCSS
$custom: #372a87;
$custom-light: #7765ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372a87",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 248.387,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36226,
    "c": 0.14776,
    "h": 282.5
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#372A87
secondary
#A6B35A
accent
#DC4CC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372A87

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

Preview Lab → · Contrast checker → · Palette generator →

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