#3950BD#3950BD

#3950BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.173 H 269.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3950BD
RGBrgb(57, 80, 189)
HSLhsl(230, 54%, 48%)
HSVhsv(230, 70%, 74%)
CMYKcmyk(69.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(38.34, 28.18, -59.98)
CIE-LCHlch(38.34, 66.27, 295.16°)
OKLaboklab(47.92% -0.001 -0.1729)
OKLCHoklch(47.92% 0.173 269.7)
XYZxyz(13.7382, 10.2799, 49.3945)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950BD #BDA639
analogous
#3992BD #3950BD #6439BD
triadic
#3950BD #BD3950 #50BD39
tetradic
#3950BD #BD3992 #BDA639 #39BD64
square
#3950BD #BD3992 #BDA639 #39BD64
split-complementary
#3950BD #BD6439 #92BD39
monochromatic
#1D285F #2B3C8E #3950BD #6376D0 #929FDE

Accessibility & contrast

On white

6.87
#3950BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3950BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950BD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950BD#FFFFFF#000000##FFFFFF
##3950BD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3950bd;
/* rgb */ color: rgb(57, 80, 189);
/* oklch */ color: oklch(47.9% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#8080d2',
    500: '#3950bd',
    950: '#000000',
  },
}
SCSS
$custom: #3950bd;
$custom-light: #8080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3950bd",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 229.545,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.17286,
    "h": 269.7
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#3950BD
secondary
#C9BE89
accent
#C44BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3950BD

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

Preview Lab → · Contrast checker → · Palette generator →

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