#3957CE#3957CE

#3957CE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.187 H 268.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3957CE
RGBrgb(57, 87, 206)
HSLhsl(228, 60%, 52%)
HSVhsv(228, 72%, 81%)
CMYKcmyk(72.3%, 57.8%, 0%, 19.2%)
CIE-LABlab(41.44, 29.82, -64.82)
CIE-LCHlch(41.44, 71.35, 294.71°)
OKLaboklab(50.65% -0.006 -0.187)
OKLCHoklch(50.65% 0.187 268.2)
XYZxyz(16.2323, 12.1408, 59.8685)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957CE #CEB039
analogous
#39A2CE #3957CE #6539CE
triadic
#3957CE #CE3957 #57CE39
tetradic
#3957CE #CE39A2 #CEB039 #39CE65
square
#3957CE #CE39A2 #CEB039 #39CE65
split-complementary
#3957CE #CE6539 #A2CE39
monochromatic
#1C2D71 #2841A2 #3957CE #6A81DA #9BAAE6

Accessibility & contrast

On white

6.13
#3957CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3957CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957CE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957CE#FFFFFF#000000##FFFFFF
##3957CE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3957ce;
/* rgb */ color: rgb(57, 87, 206);
/* oklch */ color: oklch(50.6% 0.187 268.2);
Tailwind
colors: {
  custom: {
    50: '#8386de',
    500: '#3957ce',
    950: '#000000',
  },
}
SCSS
$custom: #3957ce;
$custom-light: #8386de;
$custom-dark: #000000;
JSON
{
  "hex": "#3957ce",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 227.919,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.18706,
    "h": 268.2
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#3957CE
secondary
#D2C591
accent
#C344E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3957CE

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

Preview Lab → · Contrast checker → · Palette generator →

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