#3950B1#3950B1

#3950B1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.156 H 269.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3950B1
RGBrgb(57, 80, 177)
HSLhsl(229, 51%, 46%)
HSVhsv(229, 68%, 69%)
CMYKcmyk(67.8%, 54.8%, 0%, 30.6%)
CIE-LABlab(37.45, 23.83, -54.38)
CIE-LCHlch(37.45, 59.37, 293.66°)
OKLaboklab(46.97% -0.0016 -0.1564)
OKLCHoklch(46.97% 0.156 269.4)
XYZxyz(12.4891, 9.7803, 42.8161)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B1 #B19A39
analogous
#398CB1 #3950B1 #5E39B1
triadic
#3950B1 #B13950 #50B139
tetradic
#3950B1 #B1398C #B19A39 #39B15E
square
#3950B1 #B1398C #B19A39 #39B15E
split-complementary
#3950B1 #B15E39 #8CB139
monochromatic
#1B2654 #2A3B83 #3950B1 #5D72CB #8B9ADA

Accessibility & contrast

On white

7.10
#3950B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3950B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B1#FFFFFF#000000##FFFFFF
##3950B11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3950b1;
/* rgb */ color: rgb(57, 80, 177);
/* oklch */ color: oklch(47.0% 0.156 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d80c9',
    500: '#3950b1',
    950: '#000000',
  },
}
SCSS
$custom: #3950b1;
$custom-light: #7d80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b1",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 228.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.15638,
    "h": 269.4
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3950B1

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

Preview Lab → · Contrast checker → · Palette generator →

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