#3957C5#3957C5

#3957C5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.175 H 267.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3957C5
RGBrgb(57, 87, 197)
HSLhsl(227, 55%, 50%)
HSVhsv(227, 71%, 77%)
CMYKcmyk(71.1%, 55.8%, 0%, 22.7%)
CIE-LABlab(40.76, 26.56, -60.71)
CIE-LCHlch(40.76, 66.27, 293.63°)
OKLaboklab(49.93% -0.0063 -0.1749)
OKLCHoklch(49.93% 0.175 267.9)
XYZxyz(15.1701, 11.7159, 54.2744)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C5 #C5A739
analogous
#399DC5 #3957C5 #6139C5
triadic
#3957C5 #C53957 #57C539
tetradic
#3957C5 #C5399D #C5A739 #39C561
square
#3957C5 #C5399D #C5A739 #39C561
split-complementary
#3957C5 #C56139 #9DC539
monochromatic
#1E2D66 #2B4296 #3957C5 #687FD3 #97A7E1

Accessibility & contrast

On white

6.28
#3957C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3957C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C5#FFFFFF#000000##FFFFFF
##3957C51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3957c5;
/* rgb */ color: rgb(57, 87, 197);
/* oklch */ color: oklch(49.9% 0.175 267.9);
Tailwind
colors: {
  custom: {
    50: '#8186d7',
    500: '#3957c5',
    950: '#000000',
  },
}
SCSS
$custom: #3957c5;
$custom-light: #8186d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c5",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 197
  },
  "hsl": {
    "h": 227.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.17501,
    "h": 267.9
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#3957C5
secondary
#CDBF8D
accent
#BE49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3957C5

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

Preview Lab → · Contrast checker → · Palette generator →

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