#3956AE#3956AE

#3956AE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.145 H 267.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3956AE
RGBrgb(57, 86, 174)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 67%, 68%)
CMYKcmyk(67.2%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.86, 18.82, -50.31)
CIE-LCHlch(38.86, 53.71, 290.50°)
OKLaboklab(47.98% -0.0073 -0.1443)
OKLCHoklch(47.98% 0.145 267.1)
XYZxyz(12.6525, 10.5802, 41.4116)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956AE #AE9139
analogous
#3990AE #3956AE #5639AE
triadic
#3956AE #AE3956 #56AE39
tetradic
#3956AE #AE3990 #AE9139 #39AE56
square
#3956AE #AE3990 #AE9139 #39AE56
split-complementary
#3956AE #AE5639 #90AE39
monochromatic
#1B2852 #2A3F80 #3956AE #5B76C9 #899DD8

Accessibility & contrast

On white

6.74
#3956AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3956AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3956AE#FFFFFF#000000##FFFFFF
##3956AE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956ae;
/* rgb */ color: rgb(57, 86, 174);
/* oklch */ color: oklch(48.0% 0.145 267.1);
Tailwind
colors: {
  custom: {
    50: '#7d85c7',
    500: '#3956ae',
    950: '#000000',
  },
}
SCSS
$custom: #3956ae;
$custom-light: #7d85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3956ae",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 225.128,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.14451,
    "h": 267.1
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3956AE

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

Preview Lab → · Contrast checker → · Palette generator →

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