#372897#372897

#372897 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.171 H 280.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#372897
RGBrgb(55, 40, 151)
HSLhsl(248, 58%, 37%)
HSVhsv(248, 74%, 59%)
CMYKcmyk(63.6%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.45, 39.70, -58.29)
CIE-LCHlch(25.45, 70.52, 304.26°)
OKLaboklab(37.46% 0.0307 -0.1681)
OKLCHoklch(37.46% 0.171 280.4)
XYZxyz(7.9185, 4.5636, 29.7357)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372897 #889728
analogous
#285197 #372897 #6E2897
triadic
#372897 #973728 #289737
tetradic
#372897 #972851 #889728 #28976E
square
#372897 #972851 #889728 #28976E
split-complementary
#372897 #976E28 #519728
monochromatic
#140E36 #251B67 #372897 #4935C7 #7364D6

Accessibility & contrast

On white

10.98
#372897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#372897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372897
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372897#FFFFFF#000000##FFFFFF
##3728971.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372897;
/* rgb */ color: rgb(55, 40, 151);
/* oklch */ color: oklch(37.5% 0.171 280.4);
Tailwind
colors: {
  custom: {
    50: '#7a64b7',
    500: '#372897',
    950: '#000000',
  },
}
SCSS
$custom: #372897;
$custom-light: #7a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372897",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 248.108,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.17092,
    "h": 280.4
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#372897
secondary
#AFBC5F
accent
#E146CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372897

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

Preview Lab → · Contrast checker → · Palette generator →

#372897 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva