#3949B4#3949B4

#3949B4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.169 H 271.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3949B4
RGBrgb(57, 73, 180)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 68%, 71%)
CMYKcmyk(68.3%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.85, 29.46, -58.75)
CIE-LCHlch(35.85, 65.72, 296.63°)
OKLaboklab(45.85% 0.0045 -0.1693)
OKLCHoklch(45.85% 0.169 271.5)
XYZxyz(12.3053, 8.9291, 44.2462)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949B4 #B4A439
analogous
#3987B4 #3949B4 #6739B4
triadic
#3949B4 #B43949 #49B439
tetradic
#3949B4 #B43987 #B4A439 #39B467
square
#3949B4 #B43987 #B4A439 #39B467
split-complementary
#3949B4 #B46739 #87B439
monochromatic
#1C2357 #2A3686 #3949B4 #5E6CCC #8D97DB

Accessibility & contrast

On white

7.54
#3949B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3949B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3949B4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3949B4#FFFFFF#000000##FFFFFF
##3949B41.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3949b4;
/* rgb */ color: rgb(57, 73, 180);
/* oklch */ color: oklch(45.8% 0.169 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f7bcb',
    500: '#3949b4',
    950: '#000000',
  },
}
SCSS
$custom: #3949b4;
$custom-light: #7f7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3949b4",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 232.195,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.16936,
    "h": 271.5
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#3949B4
secondary
#C5BD83
accent
#C94CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3949B4

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

Preview Lab → · Contrast checker → · Palette generator →

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