#3950C4#3950C4

#3950C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.182 H 269.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3950C4
RGBrgb(57, 80, 196)
HSLhsl(230, 55%, 50%)
HSVhsv(230, 71%, 77%)
CMYKcmyk(70.9%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.88, 30.70, -63.19)
CIE-LCHlch(38.88, 70.25, 295.91°)
OKLaboklab(48.5% -0.0009 -0.1823)
OKLCHoklch(48.5% 0.182 269.7)
XYZxyz(14.5164, 10.5912, 53.4931)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C4 #C4AD39
analogous
#3996C4 #3950C4 #6839C4
triadic
#3950C4 #C43950 #50C439
tetradic
#3950C4 #C43996 #C4AD39 #39C468
square
#3950C4 #C43996 #C4AD39 #39C468
split-complementary
#3950C4 #C46839 #96C439
monochromatic
#1D2965 #2B3D95 #3950C4 #6779D3 #97A3E1

Accessibility & contrast

On white

6.73
#3950C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3950C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C4#FFFFFF#000000##FFFFFF
##3950C41.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3950c4;
/* rgb */ color: rgb(57, 80, 196);
/* oklch */ color: oklch(48.5% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#8180d7',
    500: '#3950c4',
    950: '#000000',
  },
}
SCSS
$custom: #3950c4;
$custom-light: #8180d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c4",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 230.072,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.18226,
    "h": 269.7
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#3950C4
secondary
#CCC28D
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3950C4

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

Preview Lab → · Contrast checker → · Palette generator →

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