#3731C0#3731C0

#3731C0 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.212 H 274.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3731C0
RGBrgb(55, 49, 192)
HSLhsl(243, 59%, 47%)
HSVhsv(243, 74%, 75%)
CMYKcmyk(71.4%, 74.5%, 0%, 24.7%)
CIE-LABlab(31.38, 47.90, -73.16)
CIE-LCHlch(31.38, 87.44, 303.21°)
OKLaboklab(42.9% 0.0169 -0.2116)
OKLCHoklch(42.9% 0.212 274.6)
XYZxyz(12.1851, 6.8134, 50.5319)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C0 #BAC031
analogous
#3173C0 #3731C0 #7E31C0
triadic
#3731C0 #C03731 #31C037
tetradic
#3731C0 #C03173 #BAC031 #31C07E
square
#3731C0 #C03173 #BAC031 #31C07E
split-complementary
#3731C0 #C07E31 #73C031
monochromatic
#1B185E #29258F #3731C0 #5F59D5 #8E8AE1

Accessibility & contrast

On white

8.89
#3731C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3731C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C0
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C0#FFFFFF#000000##FFFFFF
##3731C01.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3731c0;
/* rgb */ color: rgb(55, 49, 192);
/* oklch */ color: oklch(42.9% 0.212 274.6);
Tailwind
colors: {
  custom: {
    50: '#826bd4',
    500: '#3731c0',
    950: '#000000',
  },
}
SCSS
$custom: #3731c0;
$custom-light: #826bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c0",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 242.517,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.21225,
    "h": 274.6
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3731C0

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

Preview Lab → · Contrast checker → · Palette generator →

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