#3949BF#3949BF

#3949BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.184 H 271.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3949BF
RGBrgb(57, 73, 191)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 75%)
CMYKcmyk(70.2%, 61.8%, 0%, 25.1%)
CIE-LABlab(36.73, 33.38, -63.77)
CIE-LCHlch(36.73, 71.98, 297.63°)
OKLaboklab(46.78% 0.0043 -0.1841)
OKLCHoklch(46.78% 0.184 271.4)
XYZxyz(13.4707, 9.3952, 50.3837)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949BF #BFAF39
analogous
#398CBF #3949BF #6C39BF
triadic
#3949BF #BF3949 #49BF39
tetradic
#3949BF #BF398C #BFAF39 #39BF6C
square
#3949BF #BF398C #BFAF39 #39BF6C
split-complementary
#3949BF #BF6C39 #8CBF39
monochromatic
#1D2561 #2B3790 #3949BF #6471D1 #939CDF

Accessibility & contrast

On white

7.29
#3949BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3949BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3949BF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3949BF#FFFFFF#000000##FFFFFF
##3949BF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3949bf;
/* rgb */ color: rgb(57, 73, 191);
/* oklch */ color: oklch(46.8% 0.184 271.4);
Tailwind
colors: {
  custom: {
    50: '#817bd3',
    500: '#3949bf',
    950: '#000000',
  },
}
SCSS
$custom: #3949bf;
$custom-light: #817bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3949bf",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 232.836,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.18411,
    "h": 271.4
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#3949BF
secondary
#CAC28A
accent
#CC4ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3949BF

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

Preview Lab → · Contrast checker → · Palette generator →

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