#3950A2#3950A2

#3950A2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.135 H 268.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3950A2
RGBrgb(57, 80, 162)
HSLhsl(227, 48%, 43%)
HSVhsv(227, 65%, 64%)
CMYKcmyk(64.8%, 50.6%, 0%, 36.5%)
CIE-LABlab(36.39, 18.38, -47.15)
CIE-LCHlch(36.39, 50.61, 291.30°)
OKLaboklab(45.84% -0.0029 -0.1351)
OKLCHoklch(45.84% 0.135 268.8)
XYZxyz(11.0754, 9.2148, 35.3704)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950A2 #A28B39
analogous
#3984A2 #3950A2 #5639A2
triadic
#3950A2 #A23950 #50A239
tetradic
#3950A2 #A23984 #A28B39 #39A256
square
#3950A2 #A23984 #A28B39 #39A256
split-complementary
#3950A2 #A25639 #84A239
monochromatic
#192347 #293A75 #3950A2 #556DC3 #8294D3

Accessibility & contrast

On white

7.39
#3950A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3950A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3950A2#FFFFFF#000000##FFFFFF
##3950A21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3950a2;
/* rgb */ color: rgb(57, 80, 162);
/* oklch */ color: oklch(45.8% 0.135 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a80be',
    500: '#3950a2',
    950: '#000000',
  },
}
SCSS
$custom: #3950a2;
$custom-light: #7a80be;
$custom-dark: #000000;
JSON
{
  "hex": "#3950a2",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 226.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.13513,
    "h": 268.8
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#3950A2
secondary
#BDAE7A
accent
#BA50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3950A2

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

Preview Lab → · Contrast checker → · Palette generator →

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