#3957DE#3957DE

#3957DE is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.0% C 0.208 H 268.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3957DE
RGBrgb(57, 87, 222)
HSLhsl(229, 71%, 55%)
HSVhsv(229, 74%, 87%)
CMYKcmyk(74.3%, 60.8%, 0%, 12.9%)
CIE-LABlab(42.70, 35.57, -71.92)
CIE-LCHlch(42.70, 80.24, 296.32°)
OKLaboklab(51.98% -0.0059 -0.2078)
OKLCHoklch(51.98% 0.208 268.4)
XYZxyz(18.2758, 12.9582, 70.6311)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957DE #DEC039
analogous
#39AADE #3957DE #6E39DE
triadic
#3957DE #DE3957 #57DE39
tetradic
#3957DE #DE39AA #DEC039 #39DE6E
square
#3957DE #DE39AA #DEC039 #39DE6E
split-complementary
#3957DE #DE6E39 #AADE39
monochromatic
#162B86 #1F3BBB #3957DE #6D84E7 #A2B0EF

Accessibility & contrast

On white

5.85
#3957DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3957DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957DE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957DE#FFFFFF#000000##FFFFFF
##3957DE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3957de;
/* rgb */ color: rgb(57, 87, 222);
/* oklch */ color: oklch(52.0% 0.208 268.4);
Tailwind
colors: {
  custom: {
    50: '#8786e9',
    500: '#3957de',
    950: '#000000',
  },
}
SCSS
$custom: #3957de;
$custom-light: #8786e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3957de",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 229.091,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.20791,
    "h": 268.4
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#3957DE
secondary
#DCD097
accent
#CD3AEE
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3957DE

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

Preview Lab → · Contrast checker → · Palette generator →

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