#3956AB#3956AB

#3956AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.140 H 266.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3956AB
RGBrgb(57, 86, 171)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(66.7%, 49.7%, 0%, 32.9%)
CIE-LABlab(38.66, 17.72, -48.86)
CIE-LCHlch(38.66, 51.97, 289.93°)
OKLaboklab(47.76% -0.0077 -0.14)
OKLCHoklch(47.76% 0.14 266.9)
XYZxyz(12.3633, 10.4645, 39.8885)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956AB #AB8E39
analogous
#398FAB #3956AB #5539AB
triadic
#3956AB #AB3956 #56AB39
tetradic
#3956AB #AB398F #AB8E39 #39AB55
square
#3956AB #AB398F #AB8E39 #39AB55
split-complementary
#3956AB #AB5539 #8FAB39
monochromatic
#1A284F #2A3F7D #3956AB #5975C8 #879CD7

Accessibility & contrast

On white

6.79
#3956AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3956AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956AB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956AB#FFFFFF#000000##FFFFFF
##3956AB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956ab;
/* rgb */ color: rgb(57, 86, 171);
/* oklch */ color: oklch(47.8% 0.140 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c85c4',
    500: '#3956ab',
    950: '#000000',
  },
}
SCSS
$custom: #3956ab;
$custom-light: #7c85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3956ab",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 224.737,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.14025,
    "h": 266.9
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#3956AB
secondary
#C1B07F
accent
#B64EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3956AB

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

Preview Lab → · Contrast checker → · Palette generator →

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