#3950B0#3950B0

#3950B0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.155 H 269.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3950B0
RGBrgb(57, 80, 176)
HSLhsl(228, 51%, 46%)
HSVhsv(228, 68%, 69%)
CMYKcmyk(67.6%, 54.5%, 0%, 31%)
CIE-LABlab(37.37, 23.46, -53.90)
CIE-LCHlch(37.37, 58.79, 293.52°)
OKLaboklab(46.89% -0.0016 -0.155)
OKLCHoklch(46.89% 0.155 269.4)
XYZxyz(12.3898, 9.7406, 42.2931)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B0 #B09939
analogous
#398BB0 #3950B0 #5D39B0
triadic
#3950B0 #B03950 #50B039
tetradic
#3950B0 #B0398B #B09939 #39B05D
square
#3950B0 #B0398B #B09939 #39B05D
split-complementary
#3950B0 #B05D39 #8BB039
monochromatic
#1B2654 #2A3B82 #3950B0 #5C71CA #8A99D9

Accessibility & contrast

On white

7.12
#3950B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3950B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B0#FFFFFF#000000##FFFFFF
##3950B01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3950b0;
/* rgb */ color: rgb(57, 80, 176);
/* oklch */ color: oklch(46.9% 0.155 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#3950b0',
    950: '#000000',
  },
}
SCSS
$custom: #3950b0;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b0",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 228.403,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.15498,
    "h": 269.4
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#3950B0
secondary
#C4B781
accent
#BF4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950B0

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

Preview Lab → · Contrast checker → · Palette generator →

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