#3959FF#3959FF

#3959FF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.247 H 268.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3959FF
RGBrgb(57, 89, 255)
HSLhsl(230, 100%, 61%)
HSVhsv(230, 78%, 100%)
CMYKcmyk(77.6%, 65.1%, 0%, 0%)
CIE-LABlab(45.95, 45.92, -85.17)
CIE-LCHlch(45.95, 96.76, 298.33°)
OKLaboklab(55.22% -0.0081 -0.2466)
OKLCHoklch(55.22% 0.247 268.1)
XYZxyz(23.3035, 15.2319, 96.3002)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959FF #FFDF39
analogous
#39BCFF #3959FF #7C39FF
triadic
#3959FF #FF3959 #59FF39
tetradic
#3959FF #FF39BC #FFDF39 #39FF7C
square
#3959FF #FF39BC #FFDF39 #39FF7C
split-complementary
#3959FF #FF7C39 #BCFF39
monochromatic
#001FBE #0029FB #3959FF #768CFF #B3C0FF

Accessibility & contrast

On white

5.19
#3959FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3959FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959FF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959FF#FFFFFF#000000##FFFFFF
##3959FF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#0086A4
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3959ff;
/* rgb */ color: rgb(57, 89, 255);
/* oklch */ color: oklch(55.2% 0.247 268.1);
Tailwind
colors: {
  custom: {
    50: '#8e88ff',
    500: '#3959ff',
    950: '#000000',
  },
}
SCSS
$custom: #3959ff;
$custom-light: #8e88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3959ff",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 255
  },
  "hsl": {
    "h": 230.303,
    "s": 100,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.24671,
    "h": 268.1
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#3959FF
secondary
#EFE3A5
accent
#C000E6
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0F0B18
muted
#7E7C86

Preview Lab

Preview with #3959FF

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

Preview Lab → · Contrast checker → · Palette generator →

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