#3950B7#3950B7

#3950B7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.165 H 269.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3950B7
RGBrgb(57, 80, 183)
HSLhsl(229, 53%, 47%)
HSVhsv(229, 69%, 72%)
CMYKcmyk(68.9%, 56.3%, 0%, 28.2%)
CIE-LABlab(37.89, 26.00, -57.20)
CIE-LCHlch(37.89, 62.83, 294.45°)
OKLaboklab(47.44% -0.0012 -0.1647)
OKLCHoklch(47.44% 0.165 269.6)
XYZxyz(13.1003, 10.0248, 46.0352)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B7 #B7A039
analogous
#398FB7 #3950B7 #6139B7
triadic
#3950B7 #B73950 #50B739
tetradic
#3950B7 #B7398F #B7A039 #39B761
square
#3950B7 #B7398F #B7A039 #39B761
split-complementary
#3950B7 #B76139 #8FB739
monochromatic
#1C275A #2A3C88 #3950B7 #6074CD #8E9DDC

Accessibility & contrast

On white

6.99
#3950B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3950B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950B7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B7#FFFFFF#000000##FFFFFF
##3950B71.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3950b7;
/* rgb */ color: rgb(57, 80, 183);
/* oklch */ color: oklch(47.4% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f80cd',
    500: '#3950b7',
    950: '#000000',
  },
}
SCSS
$custom: #3950b7;
$custom-light: #7f80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b7",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 229.048,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.16467,
    "h": 269.6
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#3950B7
secondary
#C7BB85
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3950B7

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

Preview Lab → · Contrast checker → · Palette generator →

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