#3950C5#3950C5

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

Color values

HEX#3950C5
RGBrgb(57, 80, 197)
HSLhsl(230, 55%, 50%)
HSVhsv(230, 71%, 77%)
CMYKcmyk(71.1%, 59.4%, 0%, 22.7%)
CIE-LABlab(38.96, 31.06, -63.64)
CIE-LCHlch(38.96, 70.81, 296.01°)
OKLaboklab(48.58% -0.0009 -0.1836)
OKLCHoklch(48.58% 0.184 269.7)
XYZxyz(14.6306, 10.6369, 54.0946)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C5 #C5AE39
analogous
#3996C5 #3950C5 #6839C5
triadic
#3950C5 #C53950 #50C539
tetradic
#3950C5 #C53996 #C5AE39 #39C568
square
#3950C5 #C53996 #C5AE39 #39C568
split-complementary
#3950C5 #C56839 #96C539
monochromatic
#1E2966 #2B3D96 #3950C5 #687AD3 #97A3E1

Accessibility & contrast

On white

6.71
#3950C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3950C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C5#FFFFFF#000000##FFFFFF
##3950C51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3950c5;
/* rgb */ color: rgb(57, 80, 197);
/* oklch */ color: oklch(48.6% 0.184 269.7);
Tailwind
colors: {
  custom: {
    50: '#8280d7',
    500: '#3950c5',
    950: '#000000',
  },
}
SCSS
$custom: #3950c5;
$custom-light: #8280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c5",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 230.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48582,
    "c": 0.1836,
    "h": 269.7
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#3950C5
secondary
#CDC28D
accent
#C649DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3950C5

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

Preview Lab → · Contrast checker → · Palette generator →

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