#3957BF#3957BF

#3957BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.167 H 267.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3957BF
RGBrgb(57, 87, 191)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(70.2%, 54.5%, 0%, 25.1%)
CIE-LABlab(40.32, 24.37, -57.94)
CIE-LCHlch(40.32, 62.85, 292.82°)
OKLaboklab(49.46% -0.0067 -0.1667)
OKLCHoklch(49.46% 0.167 267.7)
XYZxyz(14.4963, 11.4464, 50.7255)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BF #BFA139
analogous
#399ABF #3957BF #5E39BF
triadic
#3957BF #BF3957 #57BF39
tetradic
#3957BF #BF399A #BFA139 #39BF5E
square
#3957BF #BF399A #BFA139 #39BF5E
split-complementary
#3957BF #BF5E39 #9ABF39
monochromatic
#1D2C61 #2B4290 #3957BF #647DD1 #93A4DF

Accessibility & contrast

On white

6.38
#3957BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3957BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957BF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BF#FFFFFF#000000##FFFFFF
##3957BF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3957bf;
/* rgb */ color: rgb(57, 87, 191);
/* oklch */ color: oklch(49.5% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#8086d3',
    500: '#3957bf',
    950: '#000000',
  },
}
SCSS
$custom: #3957bf;
$custom-light: #8086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3957bf",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 226.567,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.16686,
    "h": 267.7
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#3957BF
secondary
#CABC8A
accent
#BC4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3957BF

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

Preview Lab → · Contrast checker → · Palette generator →

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