#3956A2#3956A2

#3956A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.127 H 266.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3956A2
RGBrgb(57, 86, 162)
HSLhsl(223, 48%, 43%)
HSVhsv(223, 65%, 64%)
CMYKcmyk(64.8%, 46.9%, 0%, 36.5%)
CIE-LABlab(38.08, 14.44, -44.44)
CIE-LCHlch(38.08, 46.73, 288.00°)
OKLaboklab(47.13% -0.0089 -0.127)
OKLCHoklch(47.13% 0.127 266)
XYZxyz(11.5345, 10.1330, 35.5234)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956A2 #A28539
analogous
#398AA2 #3956A2 #5139A2
triadic
#3956A2 #A23956 #56A239
tetradic
#3956A2 #A2398A #A28539 #39A251
square
#3956A2 #A2398A #A28539 #39A251
split-complementary
#3956A2 #A25139 #8AA239
monochromatic
#192647 #293E75 #3956A2 #5573C3 #8299D3

Accessibility & contrast

On white

6.94
#3956A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3956A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3956A2#FFFFFF#000000##FFFFFF
##3956A21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3956a2;
/* rgb */ color: rgb(57, 86, 162);
/* oklch */ color: oklch(47.1% 0.127 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a85be',
    500: '#3956a2',
    950: '#000000',
  },
}
SCSS
$custom: #3956a2;
$custom-light: #7a85be;
$custom-dark: #000000;
JSON
{
  "hex": "#3956a2",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 223.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.12736,
    "h": 266
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#3956A2
secondary
#BDAA7A
accent
#B250D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3956A2

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

Preview Lab → · Contrast checker → · Palette generator →

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