#3956B8#3956B8

#3956B8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.158 H 267.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3956B8
RGBrgb(57, 86, 184)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 72%)
CMYKcmyk(69%, 53.3%, 0%, 27.8%)
CIE-LABlab(39.55, 22.47, -55.09)
CIE-LCHlch(39.55, 59.49, 292.19°)
OKLaboklab(48.72% -0.0063 -0.1584)
OKLCHoklch(48.72% 0.158 267.7)
XYZxyz(13.6639, 10.9848, 46.7383)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956B8 #B89B39
analogous
#3996B8 #3956B8 #5B39B8
triadic
#3956B8 #B83956 #56B839
tetradic
#3956B8 #B83996 #B89B39 #39B85B
square
#3956B8 #B83996 #B89B39 #39B85B
split-complementary
#3956B8 #B85B39 #96B839
monochromatic
#1C2A5B #2B4089 #3956B8 #6079CE #8FA1DC

Accessibility & contrast

On white

6.57
#3956B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3956B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956B8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956B8#FFFFFF#000000##FFFFFF
##3956B81.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3956b8;
/* rgb */ color: rgb(57, 86, 184);
/* oklch */ color: oklch(48.7% 0.158 267.7);
Tailwind
colors: {
  custom: {
    50: '#7f85ce',
    500: '#3956b8',
    950: '#000000',
  },
}
SCSS
$custom: #3956b8;
$custom-light: #7f85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3956b8",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 226.299,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.15849,
    "h": 267.7
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#3956B8
secondary
#C7B886
accent
#BB4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3956B8

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

Preview Lab → · Contrast checker → · Palette generator →

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