#3950B4#3950B4

#3950B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.161 H 269.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3950B4
RGBrgb(57, 80, 180)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 68%, 71%)
CMYKcmyk(68.3%, 55.6%, 0%, 29.4%)
CIE-LABlab(37.66, 24.92, -55.79)
CIE-LCHlch(37.66, 61.11, 294.07°)
OKLaboklab(47.21% -0.0014 -0.1605)
OKLCHoklch(47.21% 0.161 269.5)
XYZxyz(12.7914, 9.9012, 44.4082)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B4 #B49D39
analogous
#398EB4 #3950B4 #5F39B4
triadic
#3950B4 #B43950 #50B439
tetradic
#3950B4 #B4398E #B49D39 #39B45F
square
#3950B4 #B4398E #B49D39 #39B45F
split-complementary
#3950B4 #B45F39 #8EB439
monochromatic
#1C2757 #2A3B86 #3950B4 #5E73CC #8D9BDB

Accessibility & contrast

On white

7.05
#3950B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3950B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B4#FFFFFF#000000##FFFFFF
##3950B41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3950b4;
/* rgb */ color: rgb(57, 80, 180);
/* oklch */ color: oklch(47.2% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e80cb',
    500: '#3950b4',
    950: '#000000',
  },
}
SCSS
$custom: #3950b4;
$custom-light: #7e80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b4",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 228.78,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.16054,
    "h": 269.5
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#3950B4
secondary
#C5B983
accent
#C14CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950B4

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

Preview Lab → · Contrast checker → · Palette generator →

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