#3950A6#3950A6

#3950A6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.141 H 269.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3950A6
RGBrgb(57, 80, 166)
HSLhsl(227, 49%, 44%)
HSVhsv(227, 66%, 65%)
CMYKcmyk(65.7%, 51.8%, 0%, 34.9%)
CIE-LABlab(36.67, 19.83, -49.10)
CIE-LCHlch(36.67, 52.96, 291.99°)
OKLaboklab(46.14% -0.0024 -0.1408)
OKLCHoklch(46.14% 0.141 269)
XYZxyz(11.4366, 9.3593, 37.2728)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950A6 #A68F39
analogous
#3986A6 #3950A6 #5839A6
triadic
#3950A6 #A63950 #50A639
tetradic
#3950A6 #A63986 #A68F39 #39A658
square
#3950A6 #A63986 #A68F39 #39A658
split-complementary
#3950A6 #A65839 #86A639
monochromatic
#1A244B #293A78 #3950A6 #576EC5 #8495D5

Accessibility & contrast

On white

7.31
#3950A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3950A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950A6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950A6#FFFFFF#000000##FFFFFF
##3950A61.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3950a6;
/* rgb */ color: rgb(57, 80, 166);
/* oklch */ color: oklch(46.1% 0.141 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b80c1',
    500: '#3950a6',
    950: '#000000',
  },
}
SCSS
$custom: #3950a6;
$custom-light: #7b80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3950a6",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 166
  },
  "hsl": {
    "h": 227.339,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.14086,
    "h": 269
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#3950A6
secondary
#BFB17C
accent
#BC4FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3950A6

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

Preview Lab → · Contrast checker → · Palette generator →

#3950A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva