#3957C7#3957C7

#3957C7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.178 H 268.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3957C7
RGBrgb(57, 87, 199)
HSLhsl(227, 56%, 50%)
HSVhsv(227, 71%, 78%)
CMYKcmyk(71.4%, 56.3%, 0%, 22%)
CIE-LABlab(40.91, 27.29, -61.63)
CIE-LCHlch(40.91, 67.40, 293.88°)
OKLaboklab(50.09% -0.0062 -0.1776)
OKLCHoklch(50.09% 0.178 268)
XYZxyz(15.4008, 11.8082, 55.4893)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C7 #C7A939
analogous
#399EC7 #3957C7 #6239C7
triadic
#3957C7 #C73957 #57C739
tetradic
#3957C7 #C7399E #C7A939 #39C762
square
#3957C7 #C7399E #C7A939 #39C762
split-complementary
#3957C7 #C76239 #9EC739
monochromatic
#1D2D68 #2B4298 #3957C7 #697FD4 #98A8E2

Accessibility & contrast

On white

6.25
#3957C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3957C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C7#FFFFFF#000000##FFFFFF
##3957C71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3957c7;
/* rgb */ color: rgb(57, 87, 199);
/* oklch */ color: oklch(50.1% 0.178 268.0);
Tailwind
colors: {
  custom: {
    50: '#8286d9',
    500: '#3957c7',
    950: '#000000',
  },
}
SCSS
$custom: #3957c7;
$custom-light: #8286d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c7",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 227.324,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.17771,
    "h": 268
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#3957C7
secondary
#CEC08E
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3957C7

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

Preview Lab → · Contrast checker → · Palette generator →

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