#3731C6#3731C6

#3731C6 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.219 H 274.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3731C6
RGBrgb(55, 49, 198)
HSLhsl(242, 60%, 48%)
HSVhsv(242, 75%, 78%)
CMYKcmyk(72.2%, 75.3%, 0%, 22.4%)
CIE-LABlab(32.00, 49.82, -75.65)
CIE-LCHlch(32.00, 90.58, 303.36°)
OKLaboklab(43.52% 0.0157 -0.2188)
OKLCHoklch(43.52% 0.219 274.1)
XYZxyz(12.8635, 7.0848, 54.1047)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C6 #C0C631
analogous
#3175C6 #3731C6 #8131C6
triadic
#3731C6 #C63731 #31C637
tetradic
#3731C6 #C63175 #C0C631 #31C681
square
#3731C6 #C63175 #C0C631 #31C681
split-complementary
#3731C6 #C68131 #75C631
monochromatic
#1C1964 #292595 #3731C6 #625DD7 #928EE3

Accessibility & contrast

On white

8.69
#3731C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3731C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C6#FFFFFF#000000##FFFFFF
##3731C61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3731c6;
/* rgb */ color: rgb(55, 49, 198);
/* oklch */ color: oklch(43.5% 0.219 274.1);
Tailwind
colors: {
  custom: {
    50: '#846cd9',
    500: '#3731c6',
    950: '#000000',
  },
}
SCSS
$custom: #3731c6;
$custom-light: #846cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c6",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 242.416,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43524,
    "c": 0.2194,
    "h": 274.1
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3731C6

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

Preview Lab → · Contrast checker → · Palette generator →

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