#3950A9#3950A9

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

Color values

HEX#3950A9
RGBrgb(57, 80, 169)
HSLhsl(228, 50%, 44%)
HSVhsv(228, 66%, 66%)
CMYKcmyk(66.3%, 52.7%, 0%, 33.7%)
CIE-LABlab(36.88, 20.92, -50.55)
CIE-LCHlch(36.88, 54.71, 292.48°)
OKLaboklab(46.36% -0.0021 -0.1451)
OKLCHoklch(46.36% 0.145 269.2)
XYZxyz(11.7150, 9.4707, 38.7391)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950A9 #A99239
analogous
#3988A9 #3950A9 #5A39A9
triadic
#3950A9 #A93950 #50A939
tetradic
#3950A9 #A93988 #A99239 #39A95A
square
#3950A9 #A93988 #A99239 #39A95A
split-complementary
#3950A9 #A95A39 #88A939
monochromatic
#1A254D #2A3A7B #3950A9 #586FC7 #8697D6

Accessibility & contrast

On white

7.26
#3950A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3950A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3950A9#FFFFFF#000000##FFFFFF
##3950A91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185CAC
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3950a9;
/* rgb */ color: rgb(57, 80, 169);
/* oklch */ color: oklch(46.4% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#7c80c3',
    500: '#3950a9',
    950: '#000000',
  },
}
SCSS
$custom: #3950a9;
$custom-light: #7c80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3950a9",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 227.679,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.14514,
    "h": 269.2
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#3950A9
secondary
#C0B37E
accent
#BD4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3950A9

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

Preview Lab → · Contrast checker → · Palette generator →

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