#372896#372896

#372896 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.170 H 280.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#372896
RGBrgb(55, 40, 150)
HSLhsl(248, 58%, 37%)
HSVhsv(248, 73%, 59%)
CMYKcmyk(63.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(25.36, 39.38, -57.83)
CIE-LCHlch(25.36, 69.97, 304.25°)
OKLaboklab(37.36% 0.0309 -0.1668)
OKLCHoklch(37.36% 0.17 280.5)
XYZxyz(7.8376, 4.5312, 29.3098)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372896 #879628
analogous
#285096 #372896 #6E2896
triadic
#372896 #963728 #289637
tetradic
#372896 #962850 #879628 #28966E
square
#372896 #962850 #879628 #28966E
split-complementary
#372896 #966E28 #509628
monochromatic
#140E35 #251B66 #372896 #4935C6 #7363D5

Accessibility & contrast

On white

11.02
#372896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372896
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372896#FFFFFF#000000##FFFFFF
##3728961.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372896;
/* rgb */ color: rgb(55, 40, 150);
/* oklch */ color: oklch(37.4% 0.170 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a64b6',
    500: '#372896',
    950: '#000000',
  },
}
SCSS
$custom: #372896;
$custom-light: #7a64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372896",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 248.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.16966,
    "h": 280.5
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#372896
secondary
#AFBB5F
accent
#E147CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372896

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

Preview Lab → · Contrast checker → · Palette generator →

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