#3950C2#3950C2

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

Color values

HEX#3950C2
RGBrgb(57, 80, 194)
HSLhsl(230, 55%, 49%)
HSVhsv(230, 71%, 76%)
CMYKcmyk(70.6%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.73, 29.98, -62.28)
CIE-LCHlch(38.73, 69.12, 295.71°)
OKLaboklab(48.33% -0.001 -0.1796)
OKLCHoklch(48.33% 0.18 269.7)
XYZxyz(14.2903, 10.5008, 52.3022)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C2 #C2AB39
analogous
#3995C2 #3950C2 #6739C2
triadic
#3950C2 #C23950 #50C239
tetradic
#3950C2 #C23995 #C2AB39 #39C267
square
#3950C2 #C23995 #C2AB39 #39C267
split-complementary
#3950C2 #C26739 #95C239
monochromatic
#1D2963 #2B3C93 #3950C2 #6678D2 #95A2E0

Accessibility & contrast

On white

6.77
#3950C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3950C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C2#FFFFFF#000000##FFFFFF
##3950C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3950c2;
/* rgb */ color: rgb(57, 80, 194);
/* oklch */ color: oklch(48.3% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#3950c2',
    950: '#000000',
  },
}
SCSS
$custom: #3950c2;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c2",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 229.927,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.17959,
    "h": 269.7
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3950C2

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

Preview Lab → · Contrast checker → · Palette generator →

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