#373196#373196

#373196 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.159 H 278.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#373196
RGBrgb(55, 49, 150)
HSLhsl(244, 51%, 39%)
HSVhsv(244, 67%, 59%)
CMYKcmyk(63.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(27.33, 33.98, -54.60)
CIE-LCHlch(27.33, 64.31, 301.89°)
OKLaboklab(38.77% 0.0238 -0.1574)
OKLCHoklch(38.77% 0.159 278.6)
XYZxyz(8.1771, 5.2102, 29.4230)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373196 #909631
analogous
#315E96 #373196 #6A3196
triadic
#373196 #963731 #319637
tetradic
#373196 #96315E #909631 #31966A
square
#373196 #96315E #909631 #31966A
split-complementary
#373196 #966A31 #5E9631
monochromatic
#15133A #262268 #373196 #4A43C1 #7771D1

Accessibility & contrast

On white

10.28
#373196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#373196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373196
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373196#FFFFFF#000000##FFFFFF
##3731961.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #373196;
/* rgb */ color: rgb(55, 49, 150);
/* oklch */ color: oklch(38.8% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#796ab6',
    500: '#373196',
    950: '#000000',
  },
}
SCSS
$custom: #373196;
$custom-light: #796ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#373196",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 243.564,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38773,
    "c": 0.15915,
    "h": 278.6
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#373196
secondary
#B4B86A
accent
#DA4ED2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #373196

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

Preview Lab → · Contrast checker → · Palette generator →

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