#3959BE#3959BE

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

Color values

HEX#3959BE
RGBrgb(57, 89, 190)
HSLhsl(226, 54%, 48%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70%, 53.2%, 0%, 25.5%)
CIE-LABlab(40.79, 22.71, -56.60)
CIE-LCHlch(40.79, 60.99, 291.86°)
OKLaboklab(49.78% -0.0084 -0.1628)
OKLCHoklch(49.78% 0.163 267)
XYZxyz(14.5508, 11.7309, 50.2027)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959BE #BE9E39
analogous
#399BBE #3959BE #5B39BE
triadic
#3959BE #BE3959 #59BE39
tetradic
#3959BE #BE399B #BE9E39 #39BE5B
square
#3959BE #BE399B #BE9E39 #39BE5B
split-complementary
#3959BE #BE5B39 #9BBE39
monochromatic
#1D2D60 #2B438F #3959BE #647ED0 #93A5DF

Accessibility & contrast

On white

6.28
#3959BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3959BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959BE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959BE#FFFFFF#000000##FFFFFF
##3959BE1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3959be;
/* rgb */ color: rgb(57, 89, 190);
/* oklch */ color: oklch(49.8% 0.163 267.0);
Tailwind
colors: {
  custom: {
    50: '#8087d2',
    500: '#3959be',
    950: '#000000',
  },
}
SCSS
$custom: #3959be;
$custom-light: #8087d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3959be",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 225.564,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.163,
    "h": 267
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#3959BE
secondary
#CABA89
accent
#BA4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3959BE

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

Preview Lab → · Contrast checker → · Palette generator →

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