#3957C4#3957C4

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

Color values

HEX#3957C4
RGBrgb(57, 87, 196)
HSLhsl(227, 55%, 50%)
HSVhsv(227, 71%, 77%)
CMYKcmyk(70.9%, 55.6%, 0%, 23.1%)
CIE-LABlab(40.69, 26.20, -60.25)
CIE-LCHlch(40.69, 65.70, 293.50°)
OKLaboklab(49.85% -0.0064 -0.1735)
OKLCHoklch(49.85% 0.174 267.9)
XYZxyz(15.0559, 11.6702, 53.6730)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C4 #C4A639
analogous
#399DC4 #3957C4 #6039C4
triadic
#3957C4 #C43957 #57C439
tetradic
#3957C4 #C4399D #C4A639 #39C460
square
#3957C4 #C4399D #C4A639 #39C460
split-complementary
#3957C4 #C46039 #9DC439
monochromatic
#1D2D65 #2B4295 #3957C4 #677FD3 #97A7E1

Accessibility & contrast

On white

6.30
#3957C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3957C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C4#FFFFFF#000000##FFFFFF
##3957C41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3957c4;
/* rgb */ color: rgb(57, 87, 196);
/* oklch */ color: oklch(49.8% 0.174 267.9);
Tailwind
colors: {
  custom: {
    50: '#8186d7',
    500: '#3957c4',
    950: '#000000',
  },
}
SCSS
$custom: #3957c4;
$custom-light: #8186d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c4",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 227.05,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.17367,
    "h": 267.9
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#3957C4
secondary
#CCBE8D
accent
#BE4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3957C4

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

Preview Lab → · Contrast checker → · Palette generator →

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