#3731BA#3731BA

#3731BA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.3% C 0.205 H 275.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3731BA
RGBrgb(55, 49, 186)
HSLhsl(243, 58%, 46%)
HSVhsv(243, 74%, 73%)
CMYKcmyk(70.4%, 73.7%, 0%, 27.1%)
CIE-LABlab(30.77, 45.96, -70.63)
CIE-LCHlch(30.77, 84.27, 303.05°)
OKLaboklab(42.29% 0.0181 -0.2042)
OKLCHoklch(42.29% 0.205 275.1)
XYZxyz(11.5339, 6.5529, 47.1019)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731BA #B4BA31
analogous
#316FBA #3731BA #7B31BA
triadic
#3731BA #BA3731 #31BA37
tetradic
#3731BA #BA316F #B4BA31 #31BA7B
square
#3731BA #BA316F #B4BA31 #31BA7B
split-complementary
#3731BA #BA7B31 #6FBA31
monochromatic
#1A1759 #29248A #3731BA #5B56D2 #8A86DF

Accessibility & contrast

On white

9.09
#3731BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3731BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3731BA#FFFFFF#000000##FFFFFF
##3731BA1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3731ba;
/* rgb */ color: rgb(55, 49, 186);
/* oklch */ color: oklch(42.3% 0.205 275.1);
Tailwind
colors: {
  custom: {
    50: '#816bd0',
    500: '#3731ba',
    950: '#000000',
  },
}
SCSS
$custom: #3731ba;
$custom-light: #816bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3731ba",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 242.628,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.205,
    "h": 275.1
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#3731BA
secondary
#C6C97E
accent
#E246DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3731BA

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

Preview Lab → · Contrast checker → · Palette generator →

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