#3731AA#3731AA

#3731AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.185 H 276.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3731AA
RGBrgb(55, 49, 170)
HSLhsl(243, 55%, 43%)
HSVhsv(243, 71%, 67%)
CMYKcmyk(67.6%, 71.2%, 0%, 33.3%)
CIE-LABlab(29.18, 40.71, -63.69)
CIE-LCHlch(29.18, 75.59, 302.58°)
OKLaboklab(40.68% 0.0209 -0.184)
OKLCHoklch(40.68% 0.185 276.5)
XYZxyz(9.9272, 5.9103, 38.6401)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731AA #A4AA31
analogous
#3168AA #3731AA #7331AA
triadic
#3731AA #AA3731 #31AA37
tetradic
#3731AA #AA3168 #A4AA31 #31AA73
square
#3731AA #AA3168 #A4AA31 #31AA73
split-complementary
#3731AA #AA7331 #68AA31
monochromatic
#18164B #28237A #3731AA #534DCC #817CD9

Accessibility & contrast

On white

9.62
#3731AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3731AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3731AA#FFFFFF#000000##FFFFFF
##3731AA1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3731aa;
/* rgb */ color: rgb(55, 49, 170);
/* oklch */ color: oklch(40.7% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ac4',
    500: '#3731aa',
    950: '#000000',
  },
}
SCSS
$custom: #3731aa;
$custom-light: #7d6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3731aa",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 242.975,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.18515,
    "h": 276.5
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#3731AA
secondary
#BEC275
accent
#DF49D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3731AA

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

Preview Lab → · Contrast checker → · Palette generator →

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