#3731C7#3731C7

#3731C7 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.221 H 274.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3731C7
RGBrgb(55, 49, 199)
HSLhsl(242, 60%, 49%)
HSVhsv(242, 75%, 78%)
CMYKcmyk(72.4%, 75.4%, 0%, 22%)
CIE-LABlab(32.10, 50.14, -76.07)
CIE-LCHlch(32.10, 91.10, 303.39°)
OKLaboklab(43.63% 0.0155 -0.22)
OKLCHoklch(43.63% 0.221 274)
XYZxyz(12.9792, 7.1311, 54.7142)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C7 #C1C731
analogous
#3176C7 #3731C7 #8231C7
triadic
#3731C7 #C73731 #31C737
tetradic
#3731C7 #C73176 #C1C731 #31C782
square
#3731C7 #C73176 #C1C731 #31C782
split-complementary
#3731C7 #C78231 #76C731
monochromatic
#1C1965 #292596 #3731C7 #635ED7 #928FE3

Accessibility & contrast

On white

8.65
#3731C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3731C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C7#FFFFFF#000000##FFFFFF
##3731C71.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3731c7;
/* rgb */ color: rgb(55, 49, 199);
/* oklch */ color: oklch(43.6% 0.221 274.0);
Tailwind
colors: {
  custom: {
    50: '#846cd9',
    500: '#3731c7',
    950: '#000000',
  },
}
SCSS
$custom: #3731c7;
$custom-light: #846cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c7",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 242.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.22058,
    "h": 274
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#3731C7
secondary
#CBCE86
accent
#E444DD
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3731C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3731C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva