#373495#373495

#373495 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.154 H 277.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#373495
RGBrgb(55, 52, 149)
HSLhsl(242, 48%, 39%)
HSVhsv(242, 65%, 58%)
CMYKcmyk(63.1%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.95, 31.75, -52.97)
CIE-LCHlch(27.95, 61.76, 300.93°)
OKLaboklab(39.2% 0.0213 -0.1526)
OKLCHoklch(39.2% 0.154 277.9)
XYZxyz(8.2266, 5.4375, 29.0440)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373495 #929534
analogous
#346295 #373495 #683495
triadic
#373495 #953734 #349537
tetradic
#373495 #953462 #929534 #349568
square
#373495 #953462 #929534 #349568
split-complementary
#373495 #956834 #629534
monochromatic
#16143A #262468 #373495 #4B47BF #7775CF

Accessibility & contrast

On white

10.06
#373495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#373495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373495
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373495#FFFFFF#000000##FFFFFF
##3734951.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #373495;
/* rgb */ color: rgb(55, 52, 149);
/* oklch */ color: oklch(39.2% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#796cb5',
    500: '#373495',
    950: '#000000',
  },
}
SCSS
$custom: #373495;
$custom-light: #796cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#373495",
  "rgb": {
    "r": 55,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 241.856,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.15405,
    "h": 277.9
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#373495
secondary
#B5B76E
accent
#D850D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373495

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

Preview Lab → · Contrast checker → · Palette generator →

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