#3956BE#3956BE

#3956BE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.167 H 268.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3956BE
RGBrgb(57, 86, 190)
HSLhsl(227, 54%, 48%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(70%, 54.7%, 0%, 25.5%)
CIE-LABlab(39.98, 24.66, -57.90)
CIE-LCHlch(39.98, 62.93, 293.07°)
OKLaboklab(49.18% -0.0059 -0.1666)
OKLCHoklch(49.18% 0.167 268)
XYZxyz(14.3062, 11.2417, 50.1211)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956BE #BEA139
analogous
#3998BE #3956BE #5E39BE
triadic
#3956BE #BE3956 #56BE39
tetradic
#3956BE #BE3998 #BEA139 #39BE5E
square
#3956BE #BE3998 #BEA139 #39BE5E
split-complementary
#3956BE #BE5E39 #98BE39
monochromatic
#1D2B60 #2B418F #3956BE #647BD0 #93A3DF

Accessibility & contrast

On white

6.46
#3956BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3956BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956BE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956BE#FFFFFF#000000##FFFFFF
##3956BE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3956be;
/* rgb */ color: rgb(57, 86, 190);
/* oklch */ color: oklch(49.2% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#8085d2',
    500: '#3956be',
    950: '#000000',
  },
}
SCSS
$custom: #3956be;
$custom-light: #8085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3956be",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 226.917,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.16674,
    "h": 268
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#3956BE
secondary
#CABC89
accent
#BD4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3956BE

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

Preview Lab → · Contrast checker → · Palette generator →

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