#3950E2#3950E2

#3950E2 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.221 H 269.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3950E2
RGBrgb(57, 80, 226)
HSLhsl(232, 74%, 55%)
HSVhsv(232, 75%, 89%)
CMYKcmyk(74.8%, 64.6%, 0%, 11.4%)
CIE-LABlab(41.37, 41.33, -76.38)
CIE-LCHlch(41.37, 86.84, 298.42°)
OKLaboklab(51.1% -0.0018 -0.2209)
OKLCHoklch(51.1% 0.221 269.5)
XYZxyz(18.2788, 12.0962, 73.3082)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950E2 #E2CB39
analogous
#39A5E2 #3950E2 #7639E2
triadic
#3950E2 #E23950 #50E239
tetradic
#3950E2 #E239A5 #E2CB39 #39E276
square
#3950E2 #E239A5 #E2CB39 #39E276
split-complementary
#3950E2 #E27639 #A5E239
monochromatic
#15258C #1C33C1 #3950E2 #6E7FEA #A4AEF2

Accessibility & contrast

On white

6.14
#3950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3950E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950E2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950E2#FFFFFF#000000##FFFFFF
##3950E21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3950e2;
/* rgb */ color: rgb(57, 80, 226);
/* oklch */ color: oklch(51.1% 0.221 269.5);
Tailwind
colors: {
  custom: {
    50: '#8881ec',
    500: '#3950e2',
    950: '#000000',
  },
}
SCSS
$custom: #3950e2;
$custom-light: #8881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3950e2",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 231.834,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.22095,
    "h": 269.5
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#3950E2
secondary
#DFD598
accent
#D837F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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