#373394#373394

#373394 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.154 H 278.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#373394
RGBrgb(55, 51, 148)
HSLhsl(242, 49%, 39%)
HSVhsv(242, 66%, 58%)
CMYKcmyk(62.8%, 65.5%, 0%, 42%)
CIE-LABlab(27.62, 32.04, -52.89)
CIE-LCHlch(27.62, 61.84, 301.20°)
OKLaboklab(38.93% 0.0223 -0.1523)
OKLCHoklch(38.93% 0.154 278.3)
XYZxyz(8.1030, 5.3174, 28.6106)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373394 #909433
analogous
#336094 #373394 #683394
triadic
#373394 #943733 #339437
tetradic
#373394 #943360 #909433 #339468
square
#373394 #943360 #909433 #339468
split-complementary
#373394 #946833 #609433
monochromatic
#151439 #262366 #373394 #4A45BF #7773CF

Accessibility & contrast

On white

10.18
#373394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#373394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373394
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373394#FFFFFF#000000##FFFFFF
##3733941.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #373394;
/* rgb */ color: rgb(55, 51, 148);
/* oklch */ color: oklch(38.9% 0.154 278.3);
Tailwind
colors: {
  custom: {
    50: '#796bb4',
    500: '#373394',
    950: '#000000',
  },
}
SCSS
$custom: #373394;
$custom-light: #796bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#373394",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 242.474,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.15396,
    "h": 278.3
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#373394
secondary
#B4B76C
accent
#D84FD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #373394

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

Preview Lab → · Contrast checker → · Palette generator →

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