#3731CE#3731CE

#3731CE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.229 H 273.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3731CE
RGBrgb(55, 49, 206)
HSLhsl(242, 62%, 50%)
HSVhsv(242, 76%, 81%)
CMYKcmyk(73.3%, 76.2%, 0%, 19.2%)
CIE-LABlab(32.84, 52.35, -78.93)
CIE-LCHlch(32.84, 94.71, 303.55°)
OKLaboklab(44.37% 0.0141 -0.2284)
OKLCHoklch(44.37% 0.229 273.5)
XYZxyz(13.8107, 7.4637, 59.0933)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731CE #C8CE31
analogous
#3179CE #3731CE #8631CE
triadic
#3731CE #CE3731 #31CE37
tetradic
#3731CE #CE3179 #C8CE31 #31CE86
square
#3731CE #CE3179 #C8CE31 #31CE86
split-complementary
#3731CE #CE8631 #79CE31
monochromatic
#1D196B #2A259D #3731CE #6762DA #9794E6

Accessibility & contrast

On white

8.42
#3731CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3731CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731CE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731CE#FFFFFF#000000##FFFFFF
##3731CE1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0046CB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3731ce;
/* rgb */ color: rgb(55, 49, 206);
/* oklch */ color: oklch(44.4% 0.229 273.5);
Tailwind
colors: {
  custom: {
    50: '#856cde',
    500: '#3731ce',
    950: '#000000',
  },
}
SCSS
$custom: #3731ce;
$custom-light: #856cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3731ce",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 242.293,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.2288,
    "h": 273.5
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#3731CE
secondary
#CED18A
accent
#E543DE
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3731CE

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

Preview Lab → · Contrast checker → · Palette generator →

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