#3950C7#3950C7

#3950C7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.186 H 269.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3950C7
RGBrgb(57, 80, 199)
HSLhsl(230, 56%, 50%)
HSVhsv(230, 71%, 78%)
CMYKcmyk(71.4%, 59.8%, 0%, 22%)
CIE-LABlab(39.12, 31.78, -64.54)
CIE-LCHlch(39.12, 71.94, 296.21°)
OKLaboklab(48.75% -0.0009 -0.1862)
OKLCHoklch(48.75% 0.186 269.7)
XYZxyz(14.8613, 10.7292, 55.3095)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C7 #C7B039
analogous
#3997C7 #3950C7 #6939C7
triadic
#3950C7 #C73950 #50C739
tetradic
#3950C7 #C73997 #C7B039 #39C769
square
#3950C7 #C73997 #C7B039 #39C769
split-complementary
#3950C7 #C76939 #97C739
monochromatic
#1D2A68 #2B3D98 #3950C7 #697AD4 #98A4E2

Accessibility & contrast

On white

6.67
#3950C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3950C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C7#FFFFFF#000000##FFFFFF
##3950C71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3950c7;
/* rgb */ color: rgb(57, 80, 199);
/* oklch */ color: oklch(48.7% 0.186 269.7);
Tailwind
colors: {
  custom: {
    50: '#8280d9',
    500: '#3950c7',
    950: '#000000',
  },
}
SCSS
$custom: #3950c7;
$custom-light: #8280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c7",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 230.282,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.18625,
    "h": 269.7
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#3950C7
secondary
#CEC38E
accent
#C749DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3950C7

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

Preview Lab → · Contrast checker → · Palette generator →

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