#373791#373791

#373791 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.145 H 277.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#373791
RGBrgb(55, 55, 145)
HSLhsl(240, 45%, 39%)
HSVhsv(240, 62%, 57%)
CMYKcmyk(62.1%, 62.1%, 0%, 43.1%)
CIE-LABlab(28.35, 28.43, -49.86)
CIE-LCHlch(28.35, 57.39, 299.69°)
OKLaboklab(39.39% 0.0188 -0.1434)
OKLCHoklch(39.39% 0.145 277.5)
XYZxyz(8.0509, 5.5883, 27.4370)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373791 #919137
analogous
#376491 #373791 #643791
triadic
#373791 #913737 #379137
tetradic
#373791 #913764 #919137 #379164
square
#373791 #913764 #919137 #379164
split-complementary
#373791 #916437 #649137
monochromatic
#151538 #262665 #373791 #4B4BBB #7777CB

Accessibility & contrast

On white

9.92
#373791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#373791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373791
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373791#FFFFFF#000000##FFFFFF
##3737911.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #373791;
/* rgb */ color: rgb(55, 55, 145);
/* oklch */ color: oklch(39.4% 0.145 277.5);
Tailwind
colors: {
  custom: {
    50: '#786eb2',
    500: '#373791',
    950: '#000000',
  },
}
SCSS
$custom: #373791;
$custom-light: #786eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#373791",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.14463,
    "h": 277.5
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#373791
secondary
#B4B470
accent
#D553D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373791

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

Preview Lab → · Contrast checker → · Palette generator →

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