#3956B9#3956B9

#3956B9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.160 H 267.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3956B9
RGBrgb(57, 86, 185)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(69.2%, 53.5%, 0%, 27.5%)
CIE-LABlab(39.63, 22.83, -55.56)
CIE-LCHlch(39.63, 60.07, 292.34°)
OKLaboklab(48.8% -0.0063 -0.1597)
OKLCHoklch(48.8% 0.16 267.8)
XYZxyz(13.7691, 11.0269, 47.2923)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956B9 #B99C39
analogous
#3996B9 #3956B9 #5C39B9
triadic
#3956B9 #B93956 #56B939
tetradic
#3956B9 #B93996 #B99C39 #39B95C
square
#3956B9 #B93996 #B99C39 #39B95C
split-complementary
#3956B9 #B95C39 #96B939
monochromatic
#1C2B5B #2B408A #3956B9 #617ACE #90A1DD

Accessibility & contrast

On white

6.55
#3956B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3956B9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956B9#FFFFFF#000000##FFFFFF
##3956B91.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3956b9;
/* rgb */ color: rgb(57, 86, 185);
/* oklch */ color: oklch(48.8% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3956b9',
    950: '#000000',
  },
}
SCSS
$custom: #3956b9;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3956b9",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 185
  },
  "hsl": {
    "h": 226.406,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.15987,
    "h": 267.8
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#3956B9
secondary
#C8B986
accent
#BB4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3956B9

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

Preview Lab → · Contrast checker → · Palette generator →

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