#373399#373399

#373399 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.161 H 277.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#373399
RGBrgb(55, 51, 153)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 60%)
CMYKcmyk(64.1%, 66.7%, 0%, 40%)
CIE-LABlab(28.06, 33.75, -55.24)
CIE-LCHlch(28.06, 64.74, 301.43°)
OKLaboklab(39.39% 0.0218 -0.1592)
OKLCHoklch(39.39% 0.161 277.8)
XYZxyz(8.5073, 5.4791, 30.7401)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373399 #959933
analogous
#336299 #373399 #6A3399
triadic
#373399 #993733 #339937
tetradic
#373399 #993362 #959933 #33996A
square
#373399 #993362 #959933 #33996A
split-complementary
#373399 #996A33 #629933
monochromatic
#16143D #27246B #373399 #4C47C2 #7975D1

Accessibility & contrast

On white

10.02
#373399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#373399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373399
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373399#FFFFFF#000000##FFFFFF
##3733991.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #373399;
/* rgb */ color: rgb(55, 51, 153);
/* oklch */ color: oklch(39.4% 0.161 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a6bb8',
    500: '#373399',
    950: '#000000',
  },
}
SCSS
$custom: #373399;
$custom-light: #7a6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#373399",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 242.353,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.1607,
    "h": 277.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#373399
secondary
#B6B96E
accent
#DA4ED4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373399

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

Preview Lab → · Contrast checker → · Palette generator →

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