#3956AA#3956AA

#3956AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.139 H 266.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3956AA
RGBrgb(57, 86, 170)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 66%, 67%)
CMYKcmyk(66.5%, 49.4%, 0%, 33.3%)
CIE-LABlab(38.60, 17.35, -48.37)
CIE-LCHlch(38.60, 51.39, 289.74°)
OKLaboklab(47.69% -0.0078 -0.1386)
OKLCHoklch(47.69% 0.139 266.8)
XYZxyz(12.2683, 10.4266, 39.3884)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956AA #AA8D39
analogous
#398FAA #3956AA #5539AA
triadic
#3956AA #AA3956 #56AA39
tetradic
#3956AA #AA398F #AA8D39 #39AA55
square
#3956AA #AA398F #AA8D39 #39AA55
split-complementary
#3956AA #AA5539 #8FAA39
monochromatic
#1A284E #2A3F7C #3956AA #5975C7 #879BD7

Accessibility & contrast

On white

6.81
#3956AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3956AA#FFFFFF#000000##FFFFFF
##3956AA1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AD
Deuteranopia (green-blind)
#0B56A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956aa;
/* rgb */ color: rgb(57, 86, 170);
/* oklch */ color: oklch(47.7% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#7c85c4',
    500: '#3956aa',
    950: '#000000',
  },
}
SCSS
$custom: #3956aa;
$custom-light: #7c85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3956aa",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 224.602,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.13883,
    "h": 266.8
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#3956AA
secondary
#C1B07E
accent
#B64ED9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3956AA

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

Preview Lab → · Contrast checker → · Palette generator →

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