#3950C1#3950C1

#3950C1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.178 H 269.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3950C1
RGBrgb(57, 80, 193)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 76%)
CMYKcmyk(70.5%, 58.5%, 0%, 24.3%)
CIE-LABlab(38.65, 29.62, -61.82)
CIE-LCHlch(38.65, 68.55, 295.60°)
OKLaboklab(48.25% -0.001 -0.1782)
OKLCHoklch(48.25% 0.178 269.7)
XYZxyz(14.1783, 10.4560, 51.7127)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C1 #C1AA39
analogous
#3994C1 #3950C1 #6639C1
triadic
#3950C1 #C13950 #50C139
tetradic
#3950C1 #C13994 #C1AA39 #39C166
square
#3950C1 #C13994 #C1AA39 #39C166
split-complementary
#3950C1 #C16639 #94C139
monochromatic
#1D2963 #2B3C92 #3950C1 #6678D2 #95A1E0

Accessibility & contrast

On white

6.79
#3950C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3950C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C1#FFFFFF#000000##FFFFFF
##3950C11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3950c1;
/* rgb */ color: rgb(57, 80, 193);
/* oklch */ color: oklch(48.3% 0.178 269.7);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#3950c1',
    950: '#000000',
  },
}
SCSS
$custom: #3950c1;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c1",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 229.853,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.17825,
    "h": 269.7
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#3950C1
secondary
#CBC08B
accent
#C54ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3950C1

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

Preview Lab → · Contrast checker → · Palette generator →

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