#3959BD#3959BD

#3959BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.162 H 267.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3959BD
RGBrgb(57, 89, 189)
HSLhsl(225, 54%, 48%)
HSVhsv(225, 70%, 74%)
CMYKcmyk(69.8%, 52.9%, 0%, 25.9%)
CIE-LABlab(40.71, 22.35, -56.13)
CIE-LCHlch(40.71, 60.42, 291.71°)
OKLaboklab(49.71% -0.0085 -0.1614)
OKLCHoklch(49.71% 0.162 267)
XYZxyz(14.4418, 11.6873, 49.6290)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959BD #BD9D39
analogous
#399BBD #3959BD #5B39BD
triadic
#3959BD #BD3959 #59BD39
tetradic
#3959BD #BD399B #BD9D39 #39BD5B
square
#3959BD #BD399B #BD9D39 #39BD5B
split-complementary
#3959BD #BD5B39 #9BBD39
monochromatic
#1D2D5F #2B438E #3959BD #637ED0 #92A5DE

Accessibility & contrast

On white

6.29
#3959BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3959BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959BD#FFFFFF#000000##FFFFFF
##3959BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3959bd;
/* rgb */ color: rgb(57, 89, 189);
/* oklch */ color: oklch(49.7% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#7f87d2',
    500: '#3959bd',
    950: '#000000',
  },
}
SCSS
$custom: #3959bd;
$custom-light: #7f87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3959bd",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 225.455,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.16162,
    "h": 267
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#3959BD
secondary
#C9BA89
accent
#BA4BDD
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3959BD

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

Preview Lab → · Contrast checker → · Palette generator →

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