#3956BA#3956BA

#3956BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.161 H 267.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3956BA
RGBrgb(57, 86, 186)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(69.4%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.70, 23.20, -56.03)
CIE-LCHlch(39.70, 60.64, 292.49°)
OKLaboklab(48.87% -0.0062 -0.1611)
OKLCHoklch(48.87% 0.161 267.8)
XYZxyz(13.8750, 11.0692, 47.8502)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956BA #BA9D39
analogous
#3996BA #3956BA #5D39BA
triadic
#3956BA #BA3956 #56BA39
tetradic
#3956BA #BA3996 #BA9D39 #39BA5D
square
#3956BA #BA3996 #BA9D39 #39BA5D
split-complementary
#3956BA #BA5D39 #96BA39
monochromatic
#1C2B5C #2B408B #3956BA #617ACF #90A2DD

Accessibility & contrast

On white

6.53
#3956BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3956BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956BA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956BA#FFFFFF#000000##FFFFFF
##3956BA1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3956ba;
/* rgb */ color: rgb(57, 86, 186);
/* oklch */ color: oklch(48.9% 0.161 267.8);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3956ba',
    950: '#000000',
  },
}
SCSS
$custom: #3956ba;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3956ba",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 226.512,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.16125,
    "h": 267.8
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#3956BA
secondary
#C8B987
accent
#BC4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3956BA

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

Preview Lab → · Contrast checker → · Palette generator →

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