#3959AC#3959AC

#3959AC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.138 H 265.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3959AC
RGBrgb(57, 89, 172)
HSLhsl(223, 50%, 45%)
HSVhsv(223, 67%, 67%)
CMYKcmyk(66.9%, 48.3%, 0%, 32.5%)
CIE-LABlab(39.57, 16.13, -48.00)
CIE-LCHlch(39.57, 50.64, 288.57°)
OKLaboklab(48.47% -0.0104 -0.1375)
OKLCHoklch(48.47% 0.138 265.7)
XYZxyz(12.7035, 10.9920, 40.4739)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959AC #AC8C39
analogous
#3993AC #3959AC #5239AC
triadic
#3959AC #AC3959 #59AC39
tetradic
#3959AC #AC3993 #AC8C39 #39AC52
square
#3959AC #AC3993 #AC8C39 #39AC52
split-complementary
#3959AC #AC5239 #93AC39
monochromatic
#1B2950 #2A417E #3959AC #5A79C8 #889ED8

Accessibility & contrast

On white

6.57
#3959AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3959AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959AC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959AC#FFFFFF#000000##FFFFFF
##3959AC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#1458AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3959ac;
/* rgb */ color: rgb(57, 89, 172);
/* oklch */ color: oklch(48.5% 0.138 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c87c5',
    500: '#3959ac',
    950: '#000000',
  },
}
SCSS
$custom: #3959ac;
$custom-light: #7c87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3959ac",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 223.304,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.13786,
    "h": 265.7
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#3959AC
secondary
#C2AF7F
accent
#B34EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3959AC

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

Preview Lab → · Contrast checker → · Palette generator →

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