#3959B7#3959B7

#3959B7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.153 H 266.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3959B7
RGBrgb(57, 89, 183)
HSLhsl(225, 53%, 47%)
HSVhsv(225, 69%, 72%)
CMYKcmyk(68.9%, 51.4%, 0%, 28.2%)
CIE-LABlab(40.30, 20.15, -53.30)
CIE-LCHlch(40.30, 56.98, 290.71°)
OKLaboklab(49.26% -0.0091 -0.153)
OKLCHoklch(49.26% 0.153 266.6)
XYZxyz(13.8040, 11.4321, 46.2697)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959B7 #B79739
analogous
#3998B7 #3959B7 #5839B7
triadic
#3959B7 #B73959 #59B739
tetradic
#3959B7 #B73998 #B79739 #39B758
square
#3959B7 #B73998 #B79739 #39B758
split-complementary
#3959B7 #B75839 #98B739
monochromatic
#1C2C5A #2A4288 #3959B7 #607CCD #8EA2DC

Accessibility & contrast

On white

6.39
#3959B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3959B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959B7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959B7#FFFFFF#000000##FFFFFF
##3959B71.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3959b7;
/* rgb */ color: rgb(57, 89, 183);
/* oklch */ color: oklch(49.3% 0.153 266.6);
Tailwind
colors: {
  custom: {
    50: '#7e87cd',
    500: '#3959b7',
    950: '#000000',
  },
}
SCSS
$custom: #3959b7;
$custom-light: #7e87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3959b7",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 224.762,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.15332,
    "h": 266.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#3959B7
secondary
#C7B685
accent
#B74CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3959B7

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

Preview Lab → · Contrast checker → · Palette generator →

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