#3957DC#3957DC

#3957DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.8% C 0.205 H 268.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3957DC
RGBrgb(57, 87, 220)
HSLhsl(229, 70%, 54%)
HSVhsv(229, 74%, 86%)
CMYKcmyk(74.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(42.54, 34.86, -71.05)
CIE-LCHlch(42.54, 79.14, 296.13°)
OKLaboklab(51.81% -0.0058 -0.2053)
OKLCHoklch(51.81% 0.205 268.4)
XYZxyz(18.0093, 12.8516, 69.2277)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957DC #DCBE39
analogous
#39A9DC #3957DC #6D39DC
triadic
#3957DC #DC3957 #57DC39
tetradic
#3957DC #DC39A9 #DCBE39 #39DC6D
square
#3957DC #DC39A9 #DCBE39 #39DC6D
split-complementary
#3957DC #DC6D39 #A9DC39
monochromatic
#172B83 #203CB7 #3957DC #6D83E5 #A1AFEE

Accessibility & contrast

On white

5.88
#3957DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3957DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957DC#FFFFFF#000000##FFFFFF
##3957DC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3957dc;
/* rgb */ color: rgb(57, 87, 220);
/* oklch */ color: oklch(51.8% 0.205 268.4);
Tailwind
colors: {
  custom: {
    50: '#8686e8',
    500: '#3957dc',
    950: '#000000',
  },
}
SCSS
$custom: #3957dc;
$custom-light: #8686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3957dc",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 228.957,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.20534,
    "h": 268.4
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#3957DC
secondary
#DBCE96
accent
#CC3BED
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3957DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3957DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva