#3959C1#3959C1

#3959C1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.167 H 267.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3959C1
RGBrgb(57, 89, 193)
HSLhsl(226, 54%, 49%)
HSVhsv(226, 70%, 76%)
CMYKcmyk(70.5%, 53.9%, 0%, 24.3%)
CIE-LABlab(41.00, 23.81, -58.01)
CIE-LCHlch(41.00, 62.70, 292.32°)
OKLaboklab(50.01% -0.0082 -0.1669)
OKLCHoklch(50.01% 0.167 267.2)
XYZxyz(14.8820, 11.8634, 51.9473)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C1 #C1A139
analogous
#399DC1 #3959C1 #5D39C1
triadic
#3959C1 #C13959 #59C139
tetradic
#3959C1 #C1399D #C1A139 #39C15D
square
#3959C1 #C1399D #C1A139 #39C15D
split-complementary
#3959C1 #C15D39 #9DC139
monochromatic
#1D2D63 #2B4392 #3959C1 #667FD2 #95A6E0

Accessibility & contrast

On white

6.23
#3959C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3959C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C1#FFFFFF#000000##FFFFFF
##3959C11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3959c1;
/* rgb */ color: rgb(57, 89, 193);
/* oklch */ color: oklch(50.0% 0.167 267.2);
Tailwind
colors: {
  custom: {
    50: '#8087d4',
    500: '#3959c1',
    950: '#000000',
  },
}
SCSS
$custom: #3959c1;
$custom-light: #8087d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c1",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 225.882,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.16711,
    "h": 267.2
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#3959C1
secondary
#CBBC8B
accent
#BB4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3959C1

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

Preview Lab → · Contrast checker → · Palette generator →

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