#3959C5#3959C5

#3959C5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.173 H 267.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3959C5
RGBrgb(57, 89, 197)
HSLhsl(226, 55%, 50%)
HSVhsv(226, 71%, 77%)
CMYKcmyk(71.1%, 54.8%, 0%, 22.7%)
CIE-LABlab(41.29, 25.27, -59.86)
CIE-LCHlch(41.29, 64.98, 292.89°)
OKLaboklab(50.32% -0.0079 -0.1724)
OKLCHoklch(50.32% 0.173 267.4)
XYZxyz(15.3343, 12.0443, 54.3291)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C5 #C5A539
analogous
#399FC5 #3959C5 #5F39C5
triadic
#3959C5 #C53959 #59C539
tetradic
#3959C5 #C5399F #C5A539 #39C55F
square
#3959C5 #C5399F #C5A539 #39C55F
split-complementary
#3959C5 #C55F39 #9FC539
monochromatic
#1E2E66 #2B4496 #3959C5 #6880D3 #97A8E1

Accessibility & contrast

On white

6.16
#3959C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3959C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C5#FFFFFF#000000##FFFFFF
##3959C51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3959c5;
/* rgb */ color: rgb(57, 89, 197);
/* oklch */ color: oklch(50.3% 0.173 267.4);
Tailwind
colors: {
  custom: {
    50: '#8187d7',
    500: '#3959c5',
    950: '#000000',
  },
}
SCSS
$custom: #3959c5;
$custom-light: #8187d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c5",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 226.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.17255,
    "h": 267.4
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#3959C5
secondary
#CDBE8D
accent
#BC49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3959C5

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

Preview Lab → · Contrast checker → · Palette generator →

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