#3956AD#3956AD

#3956AD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.143 H 267.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3956AD
RGBrgb(57, 86, 173)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 67%, 68%)
CMYKcmyk(67.1%, 50.3%, 0%, 32.2%)
CIE-LABlab(38.80, 18.45, -49.83)
CIE-LCHlch(38.80, 53.13, 290.32°)
OKLaboklab(47.9% -0.0074 -0.1429)
OKLCHoklch(47.9% 0.143 267)
XYZxyz(12.5554, 10.5414, 40.9001)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956AD #AD9039
analogous
#3990AD #3956AD #5639AD
triadic
#3956AD #AD3956 #56AD39
tetradic
#3956AD #AD3990 #AD9039 #39AD56
square
#3956AD #AD3990 #AD9039 #39AD56
split-complementary
#3956AD #AD5639 #90AD39
monochromatic
#1B2851 #2A3F7F #3956AD #5A76C9 #889CD8

Accessibility & contrast

On white

6.76
#3956AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3956AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3956AD#FFFFFF#000000##FFFFFF
##3956AD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956ad;
/* rgb */ color: rgb(57, 86, 173);
/* oklch */ color: oklch(47.9% 0.143 267.0);
Tailwind
colors: {
  custom: {
    50: '#7c85c6',
    500: '#3956ad',
    950: '#000000',
  },
}
SCSS
$custom: #3956ad;
$custom-light: #7c85c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3956ad",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 225,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.14308,
    "h": 267
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#3956AD
secondary
#C2B280
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3956AD

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

Preview Lab → · Contrast checker → · Palette generator →

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