#3956A9#3956A9

#3956A9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.137 H 266.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3956A9
RGBrgb(57, 86, 169)
HSLhsl(224, 50%, 44%)
HSVhsv(224, 66%, 66%)
CMYKcmyk(66.3%, 49.1%, 0%, 33.7%)
CIE-LABlab(38.53, 16.99, -47.88)
CIE-LCHlch(38.53, 50.81, 289.54°)
OKLaboklab(47.62% -0.0079 -0.1372)
OKLCHoklch(47.62% 0.137 266.7)
XYZxyz(12.1741, 10.3889, 38.8921)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956A9 #A98C39
analogous
#398EA9 #3956A9 #5439A9
triadic
#3956A9 #A93956 #56A939
tetradic
#3956A9 #A9398E #A98C39 #39A954
square
#3956A9 #A9398E #A98C39 #39A954
split-complementary
#3956A9 #A95439 #8EA939
monochromatic
#1A274D #2A3F7B #3956A9 #5875C7 #869BD6

Accessibility & contrast

On white

6.82
#3956A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3956A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3956A9#FFFFFF#000000##FFFFFF
##3956A91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#0F56A7
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956a9;
/* rgb */ color: rgb(57, 86, 169);
/* oklch */ color: oklch(47.6% 0.137 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c85c3',
    500: '#3956a9',
    950: '#000000',
  },
}
SCSS
$custom: #3956a9;
$custom-light: #7c85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3956a9",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 224.464,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.13741,
    "h": 266.7
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#3956A9
secondary
#C0AF7E
accent
#B54FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3956A9

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

Preview Lab → · Contrast checker → · Palette generator →

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