#3956A8#3956A8

#3956A8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.136 H 266.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3956A8
RGBrgb(57, 86, 168)
HSLhsl(224, 49%, 44%)
HSVhsv(224, 66%, 66%)
CMYKcmyk(66.1%, 48.8%, 0%, 34.1%)
CIE-LABlab(38.47, 16.63, -47.40)
CIE-LCHlch(38.47, 50.23, 289.33°)
OKLaboklab(47.55% -0.0081 -0.1357)
OKLCHoklch(47.55% 0.136 266.6)
XYZxyz(12.0806, 10.3515, 38.3996)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956A8 #A88B39
analogous
#398EA8 #3956A8 #5439A8
triadic
#3956A8 #A83956 #56A839
tetradic
#3956A8 #A8398E #A88B39 #39A854
square
#3956A8 #A8398E #A88B39 #39A854
split-complementary
#3956A8 #A85439 #8EA839
monochromatic
#1A274D #293F7A #3956A8 #5875C6 #869BD6

Accessibility & contrast

On white

6.84
#3956A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3956A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3956A8#FFFFFF#000000##FFFFFF
##3956A81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AB
Deuteranopia (green-blind)
#1256A6
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3956a8;
/* rgb */ color: rgb(57, 86, 168);
/* oklch */ color: oklch(47.5% 0.136 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b85c2',
    500: '#3956a8',
    950: '#000000',
  },
}
SCSS
$custom: #3956a8;
$custom-light: #7b85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3956a8",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 224.324,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.13598,
    "h": 266.6
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3956A8

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

Preview Lab → · Contrast checker → · Palette generator →

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