#372A89#372A89

#372A89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.150 H 282.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#372A89
RGBrgb(55, 42, 137)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 69%, 54%)
CMYKcmyk(59.9%, 69.3%, 0%, 46.3%)
CIE-LABlab(24.56, 33.94, -51.09)
CIE-LCHlch(24.56, 61.34, 303.60°)
OKLaboklab(36.41% 0.0317 -0.1471)
OKLCHoklch(36.41% 0.15 282.1)
XYZxyz(6.9175, 4.2738, 24.1225)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A89 #7C892A
analogous
#2A4C89 #372A89 #672A89
triadic
#372A89 #89372A #2A8937
tetradic
#372A89 #892A4C #7C892A #2A8967
square
#372A89 #892A4C #7C892A #2A8967
split-complementary
#372A89 #89672A #4C892A
monochromatic
#110D2B #241C5A #372A89 #4A38B8 #6E5FCE

Accessibility & contrast

On white

11.32
#372A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A89
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A89#FFFFFF#000000##FFFFFF
##372A891.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#054356
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372a89;
/* rgb */ color: rgb(55, 42, 137);
/* oklch */ color: oklch(36.4% 0.150 282.1);
Tailwind
colors: {
  custom: {
    50: '#7765ac',
    500: '#372a89',
    950: '#000000',
  },
}
SCSS
$custom: #372a89;
$custom-light: #7765ac;
$custom-dark: #000000;
JSON
{
  "hex": "#372a89",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 248.211,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.15044,
    "h": 282.1
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#372A89
secondary
#A8B45B
accent
#DC4BC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #372A89

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

Preview Lab → · Contrast checker → · Palette generator →

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