#3950A5#3950A5

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

Color values

HEX#3950A5
RGBrgb(57, 80, 165)
HSLhsl(227, 49%, 44%)
HSVhsv(227, 65%, 65%)
CMYKcmyk(65.5%, 51.5%, 0%, 35.3%)
CIE-LABlab(36.60, 19.47, -48.62)
CIE-LCHlch(36.60, 52.37, 291.82°)
OKLaboklab(46.06% -0.0025 -0.1394)
OKLCHoklch(46.06% 0.139 269)
XYZxyz(11.3452, 9.3228, 36.7916)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950A5 #A58E39
analogous
#3986A5 #3950A5 #5839A5
triadic
#3950A5 #A53950 #50A539
tetradic
#3950A5 #A53986 #A58E39 #39A558
square
#3950A5 #A53986 #A58E39 #39A558
split-complementary
#3950A5 #A55839 #86A539
monochromatic
#1A244A #293A78 #3950A5 #566EC5 #8495D4

Accessibility & contrast

On white

7.33
#3950A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3950A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950A5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950A5#FFFFFF#000000##FFFFFF
##3950A51.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3950a5;
/* rgb */ color: rgb(57, 80, 165);
/* oklch */ color: oklch(46.1% 0.139 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b80c0',
    500: '#3950a5',
    950: '#000000',
  },
}
SCSS
$custom: #3950a5;
$custom-light: #7b80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3950a5",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 227.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.13943,
    "h": 269
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#3950A5
secondary
#BEB07B
accent
#BB50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3950A5

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

Preview Lab → · Contrast checker → · Palette generator →

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