#3950AA#3950AA

#3950AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.147 H 269.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3950AA
RGBrgb(57, 80, 170)
HSLhsl(228, 50%, 45%)
HSVhsv(228, 66%, 67%)
CMYKcmyk(66.5%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.95, 21.28, -51.04)
CIE-LCHlch(36.95, 55.30, 292.64°)
OKLaboklab(46.43% -0.0021 -0.1465)
OKLCHoklch(46.43% 0.147 269.2)
XYZxyz(11.8092, 9.5084, 39.2354)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950AA #AA9339
analogous
#3988AA #3950AA #5B39AA
triadic
#3950AA #AA3950 #50AA39
tetradic
#3950AA #AA3988 #AA9339 #39AA5B
square
#3950AA #AA3988 #AA9339 #39AA5B
split-complementary
#3950AA #AA5B39 #88AA39
monochromatic
#1A254E #2A3A7C #3950AA #596FC7 #8797D7

Accessibility & contrast

On white

7.24
#3950AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3950AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3950AA#FFFFFF#000000##FFFFFF
##3950AA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3950aa;
/* rgb */ color: rgb(57, 80, 170);
/* oklch */ color: oklch(46.4% 0.147 269.2);
Tailwind
colors: {
  custom: {
    50: '#7c80c4',
    500: '#3950aa',
    950: '#000000',
  },
}
SCSS
$custom: #3950aa;
$custom-light: #7c80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3950aa",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 227.788,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.14655,
    "h": 269.2
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#3950AA
secondary
#C1B37E
accent
#BD4ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950AA

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

Preview Lab → · Contrast checker → · Palette generator →

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