#3950B5#3950B5

#3950B5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.162 H 269.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3950B5
RGBrgb(57, 80, 181)
HSLhsl(229, 52%, 47%)
HSVhsv(229, 69%, 71%)
CMYKcmyk(68.5%, 55.8%, 0%, 29%)
CIE-LABlab(37.74, 25.28, -56.26)
CIE-LCHlch(37.74, 61.68, 294.19°)
OKLaboklab(47.28% -0.0013 -0.1619)
OKLCHoklch(47.28% 0.162 269.5)
XYZxyz(12.8936, 9.9421, 44.9466)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B5 #B59E39
analogous
#398EB5 #3950B5 #6039B5
triadic
#3950B5 #B53950 #50B539
tetradic
#3950B5 #B5398E #B59E39 #39B560
square
#3950B5 #B5398E #B59E39 #39B560
split-complementary
#3950B5 #B56039 #8EB539
monochromatic
#1C2758 #2A3B86 #3950B5 #5F73CD #8D9CDB

Accessibility & contrast

On white

7.03
#3950B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3950B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B5#FFFFFF#000000##FFFFFF
##3950B51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3950b5;
/* rgb */ color: rgb(57, 80, 181);
/* oklch */ color: oklch(47.3% 0.162 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e80cc',
    500: '#3950b5',
    950: '#000000',
  },
}
SCSS
$custom: #3950b5;
$custom-light: #7e80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b5",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 228.871,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.16193,
    "h": 269.5
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3950B5

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

Preview Lab → · Contrast checker → · Palette generator →

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