#3959BA#3959BA

#3959BA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.157 H 266.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3959BA
RGBrgb(57, 89, 186)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 73%)
CMYKcmyk(69.4%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.51, 21.25, -54.72)
CIE-LCHlch(40.51, 58.70, 291.22°)
OKLaboklab(49.48% -0.0088 -0.1572)
OKLCHoklch(49.48% 0.157 266.8)
XYZxyz(14.1196, 11.5584, 47.9317)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959BA #BA9A39
analogous
#399ABA #3959BA #5939BA
triadic
#3959BA #BA3959 #59BA39
tetradic
#3959BA #BA399A #BA9A39 #39BA59
square
#3959BA #BA399A #BA9A39 #39BA59
split-complementary
#3959BA #BA5939 #9ABA39
monochromatic
#1C2C5C #2B438B #3959BA #617DCF #90A3DD

Accessibility & contrast

On white

6.34
#3959BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3959BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959BA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959BA#FFFFFF#000000##FFFFFF
##3959BA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3959ba;
/* rgb */ color: rgb(57, 89, 186);
/* oklch */ color: oklch(49.5% 0.157 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f87cf',
    500: '#3959ba',
    950: '#000000',
  },
}
SCSS
$custom: #3959ba;
$custom-light: #7f87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3959ba",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 225.116,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.15749,
    "h": 266.8
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#3959BA
secondary
#C8B887
accent
#B84BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3959BA

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

Preview Lab → · Contrast checker → · Palette generator →

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