#3956BF#3956BF

#3956BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3956BF
RGBrgb(57, 86, 191)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(70.2%, 55%, 0%, 25.1%)
CIE-LABlab(40.06, 25.02, -58.37)
CIE-LCHlch(40.06, 63.50, 293.20°)
OKLaboklab(49.26% -0.0058 -0.168)
OKLCHoklch(49.26% 0.168 268)
XYZxyz(14.4159, 11.2856, 50.6987)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956BF #BFA239
analogous
#3999BF #3956BF #5F39BF
triadic
#3956BF #BF3956 #56BF39
tetradic
#3956BF #BF3999 #BFA239 #39BF5F
square
#3956BF #BF3999 #BFA239 #39BF5F
split-complementary
#3956BF #BF5F39 #99BF39
monochromatic
#1D2C61 #2B4190 #3956BF #647CD1 #93A4DF

Accessibility & contrast

On white

6.45
#3956BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3956BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956BF#FFFFFF#000000##FFFFFF
##3956BF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3956bf;
/* rgb */ color: rgb(57, 86, 191);
/* oklch */ color: oklch(49.3% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#8085d3',
    500: '#3956bf',
    950: '#000000',
  },
}
SCSS
$custom: #3956bf;
$custom-light: #8085d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3956bf",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 227.015,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.16811,
    "h": 268
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#3956BF
secondary
#CABC8A
accent
#BE4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3956BF

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

Preview Lab → · Contrast checker → · Palette generator →

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