#3949BA#3949BA

#3949BA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.177 H 271.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3949BA
RGBrgb(57, 73, 186)
HSLhsl(233, 53%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69.4%, 60.8%, 0%, 27.1%)
CIE-LABlab(36.33, 31.61, -61.50)
CIE-LCHlch(36.33, 69.15, 297.20°)
OKLaboklab(46.35% 0.0045 -0.1774)
OKLCHoklch(46.35% 0.177 271.4)
XYZxyz(12.9298, 9.1789, 47.5351)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949BA #BAAA39
analogous
#398ABA #3949BA #6939BA
triadic
#3949BA #BA3949 #49BA39
tetradic
#3949BA #BA398A #BAAA39 #39BA69
square
#3949BA #BA398A #BAAA39 #39BA69
split-complementary
#3949BA #BA6939 #8ABA39
monochromatic
#1C245C #2B378B #3949BA #616FCF #909ADD

Accessibility & contrast

On white

7.40
#3949BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3949BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3949BA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3949BA#FFFFFF#000000##FFFFFF
##3949BA1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3949ba;
/* rgb */ color: rgb(57, 73, 186);
/* oklch */ color: oklch(46.4% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#807bd0',
    500: '#3949ba',
    950: '#000000',
  },
}
SCSS
$custom: #3949ba;
$custom-light: #807bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3949ba",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 232.558,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.17746,
    "h": 271.4
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#3949BA
secondary
#C8C087
accent
#CA4BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3949BA

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

Preview Lab → · Contrast checker → · Palette generator →

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