#3956B7#3956B7

#3956B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.157 H 267.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3956B7
RGBrgb(57, 86, 183)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 72%)
CMYKcmyk(68.9%, 53%, 0%, 28.2%)
CIE-LABlab(39.48, 22.10, -54.61)
CIE-LCHlch(39.48, 58.92, 292.03°)
OKLaboklab(48.64% -0.0064 -0.157)
OKLCHoklch(48.64% 0.157 267.7)
XYZxyz(13.5594, 10.9430, 46.1882)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956B7 #B79A39
analogous
#3995B7 #3956B7 #5B39B7
triadic
#3956B7 #B73956 #56B739
tetradic
#3956B7 #B73995 #B79A39 #39B75B
square
#3956B7 #B73995 #B79A39 #39B75B
split-complementary
#3956B7 #B75B39 #95B739
monochromatic
#1C2A5A #2A4088 #3956B7 #6079CD #8EA0DC

Accessibility & contrast

On white

6.59
#3956B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3956B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956B7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956B7#FFFFFF#000000##FFFFFF
##3956B71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3956b7;
/* rgb */ color: rgb(57, 86, 183);
/* oklch */ color: oklch(48.6% 0.157 267.7);
Tailwind
colors: {
  custom: {
    50: '#7e85cd',
    500: '#3956b7',
    950: '#000000',
  },
}
SCSS
$custom: #3956b7;
$custom-light: #7e85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3956b7",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 226.19,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.1571,
    "h": 267.7
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#3956B7
secondary
#C7B885
accent
#BB4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3956B7

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

Preview Lab → · Contrast checker → · Palette generator →

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