#3949C5#3949C5

#3949C5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.192 H 271.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3949C5
RGBrgb(57, 73, 197)
HSLhsl(233, 55%, 50%)
HSVhsv(233, 71%, 77%)
CMYKcmyk(71.1%, 62.9%, 0%, 22.7%)
CIE-LABlab(37.23, 35.51, -66.46)
CIE-LCHlch(37.23, 75.35, 298.11°)
OKLaboklab(47.3% 0.0041 -0.1919)
OKLCHoklch(47.3% 0.192 271.2)
XYZxyz(14.1445, 9.6647, 53.9325)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949C5 #C5B539
analogous
#398FC5 #3949C5 #6F39C5
triadic
#3949C5 #C53949 #49C539
tetradic
#3949C5 #C5398F #C5B539 #39C56F
square
#3949C5 #C5398F #C5B539 #39C56F
split-complementary
#3949C5 #C56F39 #8FC539
monochromatic
#1E2666 #2B3796 #3949C5 #6874D3 #97A0E1

Accessibility & contrast

On white

7.16
#3949C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3949C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3949C5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3949C5#FFFFFF#000000##FFFFFF
##3949C51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3949c5;
/* rgb */ color: rgb(57, 73, 197);
/* oklch */ color: oklch(47.3% 0.192 271.2);
Tailwind
colors: {
  custom: {
    50: '#827bd8',
    500: '#3949c5',
    950: '#000000',
  },
}
SCSS
$custom: #3949c5;
$custom-light: #827bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3949c5",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 233.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.19198,
    "h": 271.2
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#3949C5
secondary
#CDC58D
accent
#CD49DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3949C5

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

Preview Lab → · Contrast checker → · Palette generator →

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