#3950B6#3950B6

#3950B6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.163 H 269.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3950B6
RGBrgb(57, 80, 182)
HSLhsl(229, 52%, 47%)
HSVhsv(229, 69%, 71%)
CMYKcmyk(68.7%, 56%, 0%, 28.6%)
CIE-LABlab(37.81, 25.64, -56.73)
CIE-LCHlch(37.81, 62.26, 294.32°)
OKLaboklab(47.36% -0.0013 -0.1633)
OKLCHoklch(47.36% 0.163 269.5)
XYZxyz(12.9966, 9.9833, 45.4889)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B6 #B69F39
analogous
#398FB6 #3950B6 #6139B6
triadic
#3950B6 #B63950 #50B639
tetradic
#3950B6 #B6398F #B69F39 #39B661
square
#3950B6 #B6398F #B69F39 #39B661
split-complementary
#3950B6 #B66139 #8FB639
monochromatic
#1C2759 #2A3C87 #3950B6 #5F73CD #8E9CDC

Accessibility & contrast

On white

7.01
#3950B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3950B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950B6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B6#FFFFFF#000000##FFFFFF
##3950B61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3950b6;
/* rgb */ color: rgb(57, 80, 182);
/* oklch */ color: oklch(47.4% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e80cd',
    500: '#3950b6',
    950: '#000000',
  },
}
SCSS
$custom: #3950b6;
$custom-light: #7e80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b6",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 182
  },
  "hsl": {
    "h": 228.96,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.1633,
    "h": 269.5
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#3950B6
secondary
#C6BA85
accent
#C14CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950B6

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

Preview Lab → · Contrast checker → · Palette generator →

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