#3950B3#3950B3

#3950B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.159 H 269.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3950B3
RGBrgb(57, 80, 179)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 68%, 70%)
CMYKcmyk(68.2%, 55.3%, 0%, 29.8%)
CIE-LABlab(37.59, 24.55, -55.32)
CIE-LCHlch(37.59, 60.53, 293.93°)
OKLaboklab(47.13% -0.0014 -0.1592)
OKLCHoklch(47.13% 0.159 269.5)
XYZxyz(12.6899, 9.8606, 43.8736)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B3 #B39C39
analogous
#398DB3 #3950B3 #5F39B3
triadic
#3950B3 #B33950 #50B339
tetradic
#3950B3 #B3398D #B39C39 #39B35F
square
#3950B3 #B3398D #B39C39 #39B35F
split-complementary
#3950B3 #B35F39 #8DB339
monochromatic
#1B2756 #2A3B85 #3950B3 #5E72CC #8C9BDA

Accessibility & contrast

On white

7.06
#3950B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3950B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B3#FFFFFF#000000##FFFFFF
##3950B31.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3950b3;
/* rgb */ color: rgb(57, 80, 179);
/* oklch */ color: oklch(47.1% 0.159 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#3950b3',
    950: '#000000',
  },
}
SCSS
$custom: #3950b3;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b3",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 228.689,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.15916,
    "h": 269.5
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#3950B3
secondary
#C5B883
accent
#C04DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950B3

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

Preview Lab → · Contrast checker → · Palette generator →

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