#3956C2#3956C2

#3956C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.172 H 268.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3956C2
RGBrgb(57, 86, 194)
HSLhsl(227, 55%, 49%)
HSVhsv(227, 71%, 76%)
CMYKcmyk(70.6%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.28, 26.11, -59.76)
CIE-LCHlch(40.28, 65.21, 293.61°)
OKLaboklab(49.49% -0.0057 -0.1721)
OKLCHoklch(49.49% 0.172 268.1)
XYZxyz(14.7494, 11.4190, 52.4553)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956C2 #C2A539
analogous
#399BC2 #3956C2 #6039C2
triadic
#3956C2 #C23956 #56C239
tetradic
#3956C2 #C2399B #C2A539 #39C260
square
#3956C2 #C2399B #C2A539 #39C260
split-complementary
#3956C2 #C26039 #9BC239
monochromatic
#1D2C63 #2B4193 #3956C2 #667DD2 #95A5E0

Accessibility & contrast

On white

6.39
#3956C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3956C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956C2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956C2#FFFFFF#000000##FFFFFF
##3956C21.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3956c2;
/* rgb */ color: rgb(57, 86, 194);
/* oklch */ color: oklch(49.5% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#8185d5',
    500: '#3956c2',
    950: '#000000',
  },
}
SCSS
$custom: #3956c2;
$custom-light: #8185d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3956c2",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 227.299,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.17219,
    "h": 268.1
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#3956C2
secondary
#CBBE8B
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3956C2

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

Preview Lab → · Contrast checker → · Palette generator →

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