#373899#373899

#373899 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.154 H 276.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#373899
RGBrgb(55, 56, 153)
HSLhsl(239, 47%, 41%)
HSVhsv(239, 64%, 60%)
CMYKcmyk(64.1%, 63.4%, 0%, 40%)
CIE-LABlab(29.26, 30.57, -53.28)
CIE-LCHlch(29.26, 61.43, 299.85°)
OKLaboklab(40.27% 0.0174 -0.1534)
OKLCHoklch(40.27% 0.154 276.5)
XYZxyz(8.7376, 5.9398, 30.8169)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373899 #999837
analogous
#376999 #373899 #673799
triadic
#373899 #993738 #389937
tetradic
#373899 #993769 #999837 #379967
square
#373899 #993769 #999837 #379967
split-complementary
#373899 #996737 #699937
monochromatic
#17173F #27286C #373899 #4E4FBF #7B7CD0

Accessibility & contrast

On white

9.60
#373899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#373899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373899
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373899#FFFFFF#000000##FFFFFF
##3738991.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #373899;
/* rgb */ color: rgb(55, 56, 153);
/* oklch */ color: oklch(40.3% 0.154 276.5);
Tailwind
colors: {
  custom: {
    50: '#796fb8',
    500: '#373899',
    950: '#000000',
  },
}
SCSS
$custom: #373899;
$custom-light: #796fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#373899",
  "rgb": {
    "r": 55,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 239.388,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.15443,
    "h": 276.5
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#373899
secondary
#B9B873
accent
#D551D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373899

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

Preview Lab → · Contrast checker → · Palette generator →

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