#373799#373799

#373799 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.156 H 276.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#373799
RGBrgb(55, 55, 153)
HSLhsl(240, 47%, 41%)
HSVhsv(240, 64%, 60%)
CMYKcmyk(64.1%, 64.1%, 0%, 40%)
CIE-LABlab(29.01, 31.22, -53.68)
CIE-LCHlch(29.01, 62.09, 300.18°)
OKLaboklab(40.09% 0.0183 -0.1546)
OKLCHoklch(40.09% 0.156 276.8)
XYZxyz(8.6896, 5.8438, 30.8009)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373799 #999937
analogous
#376899 #373799 #683799
triadic
#373799 #993737 #379937
tetradic
#373799 #993768 #999937 #379968
square
#373799 #993768 #999937 #379968
split-complementary
#373799 #996837 #689937
monochromatic
#17173F #27276C #373799 #4E4EBF #7B7BD0

Accessibility & contrast

On white

9.68
#373799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#373799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373799
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373799#FFFFFF#000000##FFFFFF
##3737991.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #373799;
/* rgb */ color: rgb(55, 55, 153);
/* oklch */ color: oklch(40.1% 0.156 276.8);
Tailwind
colors: {
  custom: {
    50: '#796eb8',
    500: '#373799',
    950: '#000000',
  },
}
SCSS
$custom: #373799;
$custom-light: #796eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#373799",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.1557,
    "h": 276.8
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#373799
secondary
#B9B973
accent
#D751D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373799

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

Preview Lab → · Contrast checker → · Palette generator →

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