#3950AD#3950AD

#3950AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.151 H 269.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3950AD
RGBrgb(57, 80, 173)
HSLhsl(228, 50%, 45%)
HSVhsv(228, 67%, 68%)
CMYKcmyk(67.1%, 53.8%, 0%, 32.2%)
CIE-LABlab(37.16, 22.37, -52.48)
CIE-LCHlch(37.16, 57.05, 293.09°)
OKLaboklab(46.66% -0.0018 -0.1508)
OKLCHoklch(46.66% 0.151 269.3)
XYZxyz(12.0963, 9.6232, 40.7471)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950AD #AD9639
analogous
#398AAD #3950AD #5C39AD
triadic
#3950AD #AD3950 #50AD39
tetradic
#3950AD #AD398A #AD9639 #39AD5C
square
#3950AD #AD398A #AD9639 #39AD5C
split-complementary
#3950AD #AD5C39 #8AAD39
monochromatic
#1B2551 #2A3B7F #3950AD #5A70C9 #8898D8

Accessibility & contrast

On white

7.18
#3950AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3950AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950AD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950AD#FFFFFF#000000##FFFFFF
##3950AD1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105DB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3950ad;
/* rgb */ color: rgb(57, 80, 173);
/* oklch */ color: oklch(46.7% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d80c6',
    500: '#3950ad',
    950: '#000000',
  },
}
SCSS
$custom: #3950ad;
$custom-light: #7d80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3950ad",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 173
  },
  "hsl": {
    "h": 228.103,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.15078,
    "h": 269.3
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#3950AD
secondary
#C2B580
accent
#BE4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950AD

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

Preview Lab → · Contrast checker → · Palette generator →

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