#3959A5#3959A5

#3959A5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.128 H 264.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3959A5
RGBrgb(57, 89, 165)
HSLhsl(222, 49%, 44%)
HSVhsv(222, 65%, 65%)
CMYKcmyk(65.5%, 46.1%, 0%, 35.3%)
CIE-LABlab(39.12, 13.58, -44.56)
CIE-LCHlch(39.12, 46.58, 286.95°)
OKLaboklab(47.99% -0.0115 -0.1273)
OKLCHoklch(47.99% 0.128 264.8)
XYZxyz(12.0489, 10.7301, 37.0262)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959A5 #A58539
analogous
#398FA5 #3959A5 #4F39A5
triadic
#3959A5 #A53959 #59A539
tetradic
#3959A5 #A5398F #A58539 #39A54F
square
#3959A5 #A5398F #A58539 #39A54F
split-complementary
#3959A5 #A54F39 #8FA539
monochromatic
#1A284A #294078 #3959A5 #5677C5 #849CD4

Accessibility & contrast

On white

6.67
#3959A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3959A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959A5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959A5#FFFFFF#000000##FFFFFF
##3959A51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#2158A3
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3959a5;
/* rgb */ color: rgb(57, 89, 165);
/* oklch */ color: oklch(48.0% 0.128 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b87c0',
    500: '#3959a5',
    950: '#000000',
  },
}
SCSS
$custom: #3959a5;
$custom-light: #7b87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3959a5",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 222.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.12787,
    "h": 264.8
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#3959A5
secondary
#BEAB7B
accent
#B050D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3959A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3959A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva