#3957BD#3957BD

#3957BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.164 H 267.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3957BD
RGBrgb(57, 87, 189)
HSLhsl(226, 54%, 48%)
HSVhsv(226, 70%, 74%)
CMYKcmyk(69.8%, 54%, 0%, 25.9%)
CIE-LABlab(40.18, 23.64, -57.00)
CIE-LCHlch(40.18, 61.71, 292.53°)
OKLaboklab(49.3% -0.0068 -0.164)
OKLCHoklch(49.3% 0.164 267.6)
XYZxyz(14.2777, 11.3589, 49.5743)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BD #BD9F39
analogous
#3999BD #3957BD #5D39BD
triadic
#3957BD #BD3957 #57BD39
tetradic
#3957BD #BD3999 #BD9F39 #39BD5D
square
#3957BD #BD3999 #BD9F39 #39BD5D
split-complementary
#3957BD #BD5D39 #99BD39
monochromatic
#1D2C5F #2B418E #3957BD #637CD0 #92A3DE

Accessibility & contrast

On white

6.42
#3957BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3957BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957BD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BD#FFFFFF#000000##FFFFFF
##3957BD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0865C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3957bd;
/* rgb */ color: rgb(57, 87, 189);
/* oklch */ color: oklch(49.3% 0.164 267.6);
Tailwind
colors: {
  custom: {
    50: '#7f86d2',
    500: '#3957bd',
    950: '#000000',
  },
}
SCSS
$custom: #3957bd;
$custom-light: #7f86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3957bd",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 226.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.16413,
    "h": 267.6
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#3957BD
secondary
#C9BB89
accent
#BC4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3957BD

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

Preview Lab → · Contrast checker → · Palette generator →

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