#3731C5#3731C5

#3731C5 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.218 H 274.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3731C5
RGBrgb(55, 49, 197)
HSLhsl(242, 60%, 48%)
HSVhsv(242, 75%, 77%)
CMYKcmyk(72.1%, 75.1%, 0%, 22.7%)
CIE-LABlab(31.90, 49.50, -75.24)
CIE-LCHlch(31.90, 90.06, 303.34°)
OKLaboklab(43.42% 0.0159 -0.2176)
OKLCHoklch(43.42% 0.218 274.2)
XYZxyz(12.7486, 7.0388, 53.4993)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C5 #BFC531
analogous
#3175C5 #3731C5 #8131C5
triadic
#3731C5 #C53731 #31C537
tetradic
#3731C5 #C53175 #BFC531 #31C581
square
#3731C5 #C53175 #BFC531 #31C581
split-complementary
#3731C5 #C58131 #75C531
monochromatic
#1C1963 #292594 #3731C5 #625DD7 #918EE3

Accessibility & contrast

On white

8.72
#3731C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3731C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C5#FFFFFF#000000##FFFFFF
##3731C51.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3731c5;
/* rgb */ color: rgb(55, 49, 197);
/* oklch */ color: oklch(43.4% 0.218 274.2);
Tailwind
colors: {
  custom: {
    50: '#836cd8',
    500: '#3731c5',
    950: '#000000',
  },
}
SCSS
$custom: #3731c5;
$custom-light: #836cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c5",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 242.432,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4342,
    "c": 0.21822,
    "h": 274.2
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#3731C5
secondary
#CACD85
accent
#E344DD
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3731C5

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

Preview Lab → · Contrast checker → · Palette generator →

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