#373897#373897

#373897 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.152 H 276.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#373897
RGBrgb(55, 56, 151)
HSLhsl(239, 47%, 40%)
HSVhsv(239, 64%, 59%)
CMYKcmyk(63.6%, 62.9%, 0%, 40.8%)
CIE-LABlab(29.09, 29.87, -52.33)
CIE-LCHlch(29.09, 60.26, 299.72°)
OKLaboklab(40.09% 0.0176 -0.1506)
OKLCHoklch(40.09% 0.152 276.6)
XYZxyz(8.5738, 5.8743, 29.9542)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373897 #979637
analogous
#376897 #373897 #663797
triadic
#373897 #973738 #389737
tetradic
#373897 #973768 #979637 #379766
square
#373897 #973768 #979637 #379766
split-complementary
#373897 #976637 #689737
monochromatic
#16173D #27276A #373897 #4D4EBE #7A7BCF

Accessibility & contrast

On white

9.66
#373897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #373897
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373897#FFFFFF#000000##FFFFFF
##3738971.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #373897;
/* rgb */ color: rgb(55, 56, 151);
/* oklch */ color: oklch(40.1% 0.152 276.6);
Tailwind
colors: {
  custom: {
    50: '#796fb6',
    500: '#373897',
    950: '#000000',
  },
}
SCSS
$custom: #373897;
$custom-light: #796fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#373897",
  "rgb": {
    "r": 55,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 239.375,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.15167,
    "h": 276.6
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#373897
secondary
#B8B772
accent
#D552D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373897

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

Preview Lab → · Contrast checker → · Palette generator →

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