#3731AD#3731AD

#3731AD is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.189 H 276.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3731AD
RGBrgb(55, 49, 173)
HSLhsl(243, 56%, 44%)
HSVhsv(243, 72%, 68%)
CMYKcmyk(68.2%, 71.7%, 0%, 32.2%)
CIE-LABlab(29.48, 41.70, -65.01)
CIE-LCHlch(29.48, 77.24, 302.68°)
OKLaboklab(40.98% 0.0204 -0.1878)
OKLCHoklch(40.98% 0.189 276.2)
XYZxyz(10.2142, 6.0251, 40.1517)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731AD #A7AD31
analogous
#3169AD #3731AD #7531AD
triadic
#3731AD #AD3731 #31AD37
tetradic
#3731AD #AD3169 #A7AD31 #31AD75
square
#3731AD #AD3169 #A7AD31 #31AD75
split-complementary
#3731AD #AD7531 #69AD31
monochromatic
#19164E #28237D #3731AD #544ECD #827EDA

Accessibility & contrast

On white

9.52
#3731AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3731AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3731AD#FFFFFF#000000##FFFFFF
##3731AD1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3731ad;
/* rgb */ color: rgb(55, 49, 173);
/* oklch */ color: oklch(41.0% 0.189 276.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ac7',
    500: '#3731ad',
    950: '#000000',
  },
}
SCSS
$custom: #3731ad;
$custom-light: #7e6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3731ad",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 242.903,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.18893,
    "h": 276.2
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#3731AD
secondary
#C0C377
accent
#DF49D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3731AD

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

Preview Lab → · Contrast checker → · Palette generator →

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