#3731AE#3731AE

#3731AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.190 H 276.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3731AE
RGBrgb(55, 49, 174)
HSLhsl(243, 56%, 44%)
HSVhsv(243, 72%, 68%)
CMYKcmyk(68.4%, 71.8%, 0%, 31.8%)
CIE-LABlab(29.57, 42.03, -65.45)
CIE-LCHlch(29.57, 77.79, 302.71°)
OKLaboklab(41.08% 0.0202 -0.1891)
OKLCHoklch(41.08% 0.19 276.1)
XYZxyz(10.3113, 6.0639, 40.6632)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731AE #A8AE31
analogous
#3169AE #3731AE #7531AE
triadic
#3731AE #AE3731 #31AE37
tetradic
#3731AE #AE3169 #A8AE31 #31AE75
square
#3731AE #AE3169 #A8AE31 #31AE75
split-complementary
#3731AE #AE7531 #69AE31
monochromatic
#19164E #28247E #3731AE #554FCD #837FDB

Accessibility & contrast

On white

9.49
#3731AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3731AE#FFFFFF#000000##FFFFFF
##3731AE1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3731ae;
/* rgb */ color: rgb(55, 49, 174);
/* oklch */ color: oklch(41.1% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#7e6bc7',
    500: '#3731ae',
    950: '#000000',
  },
}
SCSS
$custom: #3731ae;
$custom-light: #7e6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3731ae",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 242.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.19019,
    "h": 276.1
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#3731AE
secondary
#C0C477
accent
#DF48D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3731AE

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

Preview Lab → · Contrast checker → · Palette generator →

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