#3950BC#3950BC

#3950BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.172 H 269.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3950BC
RGBrgb(57, 80, 188)
HSLhsl(229, 53%, 48%)
HSVhsv(229, 70%, 74%)
CMYKcmyk(69.7%, 57.4%, 0%, 26.3%)
CIE-LABlab(38.26, 27.82, -59.52)
CIE-LCHlch(38.26, 65.70, 295.05°)
OKLaboklab(47.84% -0.0011 -0.1715)
OKLCHoklch(47.84% 0.172 269.6)
XYZxyz(13.6300, 10.2367, 48.8248)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950BC #BCA539
analogous
#3991BC #3950BC #6439BC
triadic
#3950BC #BC3950 #50BC39
tetradic
#3950BC #BC3991 #BCA539 #39BC64
square
#3950BC #BC3991 #BCA539 #39BC64
split-complementary
#3950BC #BC6439 #91BC39
monochromatic
#1D285E #2B3C8D #3950BC #6376D0 #929FDE

Accessibility & contrast

On white

6.89
#3950BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3950BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950BC#FFFFFF#000000##FFFFFF
##3950BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3950bc;
/* rgb */ color: rgb(57, 80, 188);
/* oklch */ color: oklch(47.8% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#8080d1',
    500: '#3950bc',
    950: '#000000',
  },
}
SCSS
$custom: #3950bc;
$custom-light: #8080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3950bc",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 229.466,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.1715,
    "h": 269.6
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#3950BC
secondary
#C9BD88
accent
#C34BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3950BC

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

Preview Lab → · Contrast checker → · Palette generator →

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