#3950BE#3950BE

#3950BE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.174 H 269.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3950BE
RGBrgb(57, 80, 190)
HSLhsl(230, 54%, 48%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(70%, 57.9%, 0%, 25.5%)
CIE-LABlab(38.42, 28.54, -60.45)
CIE-LCHlch(38.42, 66.84, 295.27°)
OKLaboklab(48.01% -0.001 -0.1742)
OKLCHoklch(48.01% 0.174 269.7)
XYZxyz(13.8471, 10.3235, 49.9681)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950BE #BEA739
analogous
#3992BE #3950BE #6439BE
triadic
#3950BE #BE3950 #50BE39
tetradic
#3950BE #BE3992 #BEA739 #39BE64
square
#3950BE #BE3992 #BEA739 #39BE64
split-complementary
#3950BE #BE6439 #92BE39
monochromatic
#1D2860 #2B3C8F #3950BE #6477D0 #93A0DF

Accessibility & contrast

On white

6.85
#3950BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3950BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950BE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950BE#FFFFFF#000000##FFFFFF
##3950BE1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3950be;
/* rgb */ color: rgb(57, 80, 190);
/* oklch */ color: oklch(48.0% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#8080d2',
    500: '#3950be',
    950: '#000000',
  },
}
SCSS
$custom: #3950be;
$custom-light: #8080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3950be",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 229.624,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.17421,
    "h": 269.7
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#3950BE
secondary
#CABF89
accent
#C44BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3950BE

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

Preview Lab → · Contrast checker → · Palette generator →

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