#3959C2#3959C2

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

Color values

HEX#3959C2
RGBrgb(57, 89, 194)
HSLhsl(226, 55%, 49%)
HSVhsv(226, 71%, 76%)
CMYKcmyk(70.6%, 54.1%, 0%, 23.9%)
CIE-LABlab(41.07, 24.17, -58.47)
CIE-LCHlch(41.07, 63.27, 292.46°)
OKLaboklab(50.09% -0.0081 -0.1683)
OKLCHoklch(50.09% 0.168 267.2)
XYZxyz(14.9939, 11.9081, 52.5368)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C2 #C2A239
analogous
#399EC2 #3959C2 #5D39C2
triadic
#3959C2 #C23959 #59C239
tetradic
#3959C2 #C2399E #C2A239 #39C25D
square
#3959C2 #C2399E #C2A239 #39C25D
split-complementary
#3959C2 #C25D39 #9EC239
monochromatic
#1D2E63 #2B4393 #3959C2 #667FD2 #95A7E0

Accessibility & contrast

On white

6.21
#3959C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3959C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C2#FFFFFF#000000##FFFFFF
##3959C21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0367C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3959c2;
/* rgb */ color: rgb(57, 89, 194);
/* oklch */ color: oklch(50.1% 0.168 267.2);
Tailwind
colors: {
  custom: {
    50: '#8087d5',
    500: '#3959c2',
    950: '#000000',
  },
}
SCSS
$custom: #3959c2;
$custom-light: #8087d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c2",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 225.985,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.16848,
    "h": 267.2
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3959C2

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

Preview Lab → · Contrast checker → · Palette generator →

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