#3950AF#3950AF

#3950AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.154 H 269.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3950AF
RGBrgb(57, 80, 175)
HSLhsl(228, 51%, 45%)
HSVhsv(228, 67%, 69%)
CMYKcmyk(67.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(37.30, 23.10, -53.43)
CIE-LCHlch(37.30, 58.21, 293.38°)
OKLaboklab(46.82% -0.0017 -0.1536)
OKLCHoklch(46.82% 0.154 269.4)
XYZxyz(12.2912, 9.7012, 41.7739)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950AF #AF9839
analogous
#398BAF #3950AF #5D39AF
triadic
#3950AF #AF3950 #50AF39
tetradic
#3950AF #AF398B #AF9839 #39AF5D
square
#3950AF #AF398B #AF9839 #39AF5D
split-complementary
#3950AF #AF5D39 #8BAF39
monochromatic
#1B2653 #2A3B81 #3950AF #5B71CA #8A99D9

Accessibility & contrast

On white

7.14
#3950AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3950AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3950AF#FFFFFF#000000##FFFFFF
##3950AF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3950af;
/* rgb */ color: rgb(57, 80, 175);
/* oklch */ color: oklch(46.8% 0.154 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#3950af',
    950: '#000000',
  },
}
SCSS
$custom: #3950af;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3950af",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 228.305,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.15359,
    "h": 269.4
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#3950AF
secondary
#C3B681
accent
#BF4DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950AF

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

Preview Lab → · Contrast checker → · Palette generator →

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