#3731AC#3731AC

#3731AC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.188 H 276.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3731AC
RGBrgb(55, 49, 172)
HSLhsl(243, 56%, 43%)
HSVhsv(243, 72%, 67%)
CMYKcmyk(68%, 71.5%, 0%, 32.5%)
CIE-LABlab(29.38, 41.37, -64.57)
CIE-LCHlch(29.38, 76.69, 302.65°)
OKLaboklab(40.88% 0.0206 -0.1865)
OKLCHoklch(40.88% 0.188 276.3)
XYZxyz(10.1178, 5.9865, 39.6440)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731AC #A6AC31
analogous
#3168AC #3731AC #7431AC
triadic
#3731AC #AC3731 #31AC37
tetradic
#3731AC #AC3168 #A6AC31 #31AC74
square
#3731AC #AC3168 #A6AC31 #31AC74
split-complementary
#3731AC #AC7431 #68AC31
monochromatic
#19164D #28237C #3731AC #544ECC #827DDA

Accessibility & contrast

On white

9.56
#3731AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3731AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3731AC#FFFFFF#000000##FFFFFF
##3731AC1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3731ac;
/* rgb */ color: rgb(55, 49, 172);
/* oklch */ color: oklch(40.9% 0.188 276.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ac6',
    500: '#3731ac',
    950: '#000000',
  },
}
SCSS
$custom: #3731ac;
$custom-light: #7e6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3731ac",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 242.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.18767,
    "h": 276.3
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3731AC

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

Preview Lab → · Contrast checker → · Palette generator →

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