#3731C1#3731C1

#3731C1 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.213 H 274.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3731C1
RGBrgb(55, 49, 193)
HSLhsl(243, 60%, 47%)
HSVhsv(243, 75%, 76%)
CMYKcmyk(71.5%, 74.6%, 0%, 24.3%)
CIE-LABlab(31.48, 48.22, -73.58)
CIE-LCHlch(31.48, 87.97, 303.24°)
OKLaboklab(43% 0.0167 -0.2128)
OKLCHoklch(43% 0.213 274.5)
XYZxyz(12.2963, 6.8579, 51.1174)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C1 #BBC131
analogous
#3173C1 #3731C1 #7F31C1
triadic
#3731C1 #C13731 #31C137
tetradic
#3731C1 #C13173 #BBC131 #31C17F
square
#3731C1 #C13173 #BBC131 #31C17F
split-complementary
#3731C1 #C17F31 #73C131
monochromatic
#1B185F #292590 #3731C1 #5F5AD5 #8E8BE2

Accessibility & contrast

On white

8.85
#3731C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3731C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C1#FFFFFF#000000##FFFFFF
##3731C11.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0043BE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3731c1;
/* rgb */ color: rgb(55, 49, 193);
/* oklch */ color: oklch(43.0% 0.213 274.5);
Tailwind
colors: {
  custom: {
    50: '#836bd5',
    500: '#3731c1',
    950: '#000000',
  },
}
SCSS
$custom: #3731c1;
$custom-light: #836bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c1",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 242.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.21344,
    "h": 274.5
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#3731C1
secondary
#C9CC82
accent
#E345DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3731C1

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

Preview Lab → · Contrast checker → · Palette generator →

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