#3950C0#3950C0

#3950C0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.177 H 269.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3950C0
RGBrgb(57, 80, 192)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(70.3%, 58.3%, 0%, 24.7%)
CIE-LABlab(38.57, 29.26, -61.36)
CIE-LCHlch(38.57, 67.98, 295.49°)
OKLaboklab(48.17% -0.001 -0.1769)
OKLCHoklch(48.17% 0.177 269.7)
XYZxyz(14.0672, 10.4115, 51.1272)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950C0 #C0A939
analogous
#3994C0 #3950C0 #6639C0
triadic
#3950C0 #C03950 #50C039
tetradic
#3950C0 #C03994 #C0A939 #39C066
square
#3950C0 #C03994 #C0A939 #39C066
split-complementary
#3950C0 #C06639 #94C039
monochromatic
#1D2962 #2B3C91 #3950C0 #6577D1 #94A1DF

Accessibility & contrast

On white

6.81
#3950C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3950C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950C0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950C0#FFFFFF#000000##FFFFFF
##3950C01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3950c0;
/* rgb */ color: rgb(57, 80, 192);
/* oklch */ color: oklch(48.2% 0.177 269.7);
Tailwind
colors: {
  custom: {
    50: '#8180d4',
    500: '#3950c0',
    950: '#000000',
  },
}
SCSS
$custom: #3950c0;
$custom-light: #8180d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3950c0",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 192
  },
  "hsl": {
    "h": 229.778,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.17691,
    "h": 269.7
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#3950C0
secondary
#CBC08A
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3950C0

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

Preview Lab → · Contrast checker → · Palette generator →

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