#3950BF#3950BF

#3950BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.176 H 269.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3950BF
RGBrgb(57, 80, 191)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(70.2%, 58.1%, 0%, 25.1%)
CIE-LABlab(38.49, 28.90, -60.90)
CIE-LCHlch(38.49, 67.41, 295.38°)
OKLaboklab(48.09% -0.001 -0.1756)
OKLCHoklch(48.09% 0.176 269.7)
XYZxyz(13.9568, 10.3674, 50.5457)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950BF #BFA839
analogous
#3993BF #3950BF #6539BF
triadic
#3950BF #BF3950 #50BF39
tetradic
#3950BF #BF3993 #BFA839 #39BF65
square
#3950BF #BF3993 #BFA839 #39BF65
split-complementary
#3950BF #BF6539 #93BF39
monochromatic
#1D2961 #2B3C90 #3950BF #6477D1 #93A0DF

Accessibility & contrast

On white

6.83
#3950BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3950BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950BF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950BF#FFFFFF#000000##FFFFFF
##3950BF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3950bf;
/* rgb */ color: rgb(57, 80, 191);
/* oklch */ color: oklch(48.1% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#8080d3',
    500: '#3950bf',
    950: '#000000',
  },
}
SCSS
$custom: #3950bf;
$custom-light: #8080d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3950bf",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 229.701,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.17556,
    "h": 269.7
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#3950BF
secondary
#CABF8A
accent
#C44ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3950BF

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

Preview Lab → · Contrast checker → · Palette generator →

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