#3950BA#3950BA

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

Color values

HEX#3950BA
RGBrgb(57, 80, 186)
HSLhsl(229, 53%, 48%)
HSVhsv(229, 69%, 73%)
CMYKcmyk(69.4%, 57%, 0%, 27.1%)
CIE-LABlab(38.11, 27.09, -58.60)
CIE-LCHlch(38.11, 64.56, 294.81°)
OKLaboklab(47.68% -0.0011 -0.1688)
OKLCHoklch(47.68% 0.169 269.6)
XYZxyz(13.4159, 10.1510, 47.6972)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950BA #BAA339
analogous
#3991BA #3950BA #6239BA
triadic
#3950BA #BA3950 #50BA39
tetradic
#3950BA #BA3991 #BAA339 #39BA62
square
#3950BA #BA3991 #BAA339 #39BA62
split-complementary
#3950BA #BA6239 #91BA39
monochromatic
#1C285C #2B3C8B #3950BA #6175CF #909EDD

Accessibility & contrast

On white

6.93
#3950BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3950BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950BA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950BA#FFFFFF#000000##FFFFFF
##3950BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3950ba;
/* rgb */ color: rgb(57, 80, 186);
/* oklch */ color: oklch(47.7% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f80d0',
    500: '#3950ba',
    950: '#000000',
  },
}
SCSS
$custom: #3950ba;
$custom-light: #7f80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3950ba",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 229.302,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.16878,
    "h": 269.6
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#3950BA
secondary
#C8BC87
accent
#C34BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3950BA

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

Preview Lab → · Contrast checker → · Palette generator →

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