#3957BC#3957BC

#3957BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.163 H 267.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3957BC
RGBrgb(57, 87, 188)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 70%, 74%)
CMYKcmyk(69.7%, 53.7%, 0%, 26.3%)
CIE-LABlab(40.11, 23.28, -56.53)
CIE-LCHlch(40.11, 61.14, 292.38°)
OKLaboklab(49.23% -0.0069 -0.1626)
OKLCHoklch(49.23% 0.163 267.6)
XYZxyz(14.1695, 11.3157, 49.0046)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BC #BC9E39
analogous
#3998BC #3957BC #5D39BC
triadic
#3957BC #BC3957 #57BC39
tetradic
#3957BC #BC3998 #BC9E39 #39BC5D
square
#3957BC #BC3998 #BC9E39 #39BC5D
split-complementary
#3957BC #BC5D39 #98BC39
monochromatic
#1D2C5E #2B418D #3957BC #637CD0 #92A3DE

Accessibility & contrast

On white

6.44
#3957BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3957BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957BC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BC#FFFFFF#000000##FFFFFF
##3957BC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957bc;
/* rgb */ color: rgb(57, 87, 188);
/* oklch */ color: oklch(49.2% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#7f85d1',
    500: '#3957bc',
    950: '#000000',
  },
}
SCSS
$custom: #3957bc;
$custom-light: #7f85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3957bc",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 226.26,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.16276,
    "h": 267.6
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#3957BC
secondary
#C9BA88
accent
#BB4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3957BC

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

Preview Lab → · Contrast checker → · Palette generator →

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