#3957B1#3957B1

#3957B1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.147 H 266.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3957B1
RGBrgb(57, 87, 177)
HSLhsl(225, 51%, 46%)
HSVhsv(225, 68%, 69%)
CMYKcmyk(67.8%, 50.8%, 0%, 30.6%)
CIE-LABlab(39.34, 19.26, -51.31)
CIE-LCHlch(39.34, 54.81, 290.57°)
OKLaboklab(48.41% -0.0079 -0.1472)
OKLCHoklch(48.41% 0.147 266.9)
XYZxyz(13.0286, 10.8593, 42.9959)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B1 #B19339
analogous
#3993B1 #3957B1 #5739B1
triadic
#3957B1 #B13957 #57B139
tetradic
#3957B1 #B13993 #B19339 #39B157
square
#3957B1 #B13993 #B19339 #39B157
split-complementary
#3957B1 #B15739 #93B139
monochromatic
#1B2954 #2A4083 #3957B1 #5D78CB #8B9FDA

Accessibility & contrast

On white

6.62
#3957B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3957B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B1#FFFFFF#000000##FFFFFF
##3957B11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3957b1;
/* rgb */ color: rgb(57, 87, 177);
/* oklch */ color: oklch(48.4% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#7d85c9',
    500: '#3957b1',
    950: '#000000',
  },
}
SCSS
$custom: #3957b1;
$custom-light: #7d85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b1",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 177
  },
  "hsl": {
    "h": 225,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.14745,
    "h": 266.9
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#3957B1
secondary
#C4B382
accent
#B74DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3957B1

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

Preview Lab → · Contrast checker → · Palette generator →

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