#3731C3#3731C3

#3731C3 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.216 H 274.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3731C3
RGBrgb(55, 49, 195)
HSLhsl(242, 60%, 48%)
HSVhsv(242, 75%, 76%)
CMYKcmyk(71.8%, 74.9%, 0%, 23.5%)
CIE-LABlab(31.69, 48.86, -74.41)
CIE-LCHlch(31.69, 89.02, 303.29°)
OKLaboklab(43.21% 0.0163 -0.2152)
OKLCHoklch(43.21% 0.216 274.3)
XYZxyz(12.5209, 6.9477, 52.3004)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C3 #BDC331
analogous
#3174C3 #3731C3 #8031C3
triadic
#3731C3 #C33731 #31C337
tetradic
#3731C3 #C33174 #BDC331 #31C380
square
#3731C3 #C33174 #BDC331 #31C380
split-complementary
#3731C3 #C38031 #74C331
monochromatic
#1B1861 #292592 #3731C3 #605BD6 #908CE2

Accessibility & contrast

On white

8.79
#3731C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3731C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C3#FFFFFF#000000##FFFFFF
##3731C31.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0044C0
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3731c3;
/* rgb */ color: rgb(55, 49, 195);
/* oklch */ color: oklch(43.2% 0.216 274.3);
Tailwind
colors: {
  custom: {
    50: '#836bd7',
    500: '#3731c3',
    950: '#000000',
  },
}
SCSS
$custom: #3731c3;
$custom-light: #836bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c3",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 242.466,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.21584,
    "h": 274.3
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#3731C3
secondary
#C9CC83
accent
#E345DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3731C3

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

Preview Lab → · Contrast checker → · Palette generator →

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