#3957BB#3957BB

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

Color values

HEX#3957BB
RGBrgb(57, 87, 187)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 70%, 73%)
CMYKcmyk(69.5%, 53.5%, 0%, 26.7%)
CIE-LABlab(40.04, 22.91, -56.06)
CIE-LCHlch(40.04, 60.57, 292.23°)
OKLaboklab(49.15% -0.007 -0.1612)
OKLCHoklch(49.15% 0.161 267.5)
XYZxyz(14.0621, 11.2727, 48.4388)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BB #BB9D39
analogous
#3998BB #3957BB #5C39BB
triadic
#3957BB #BB3957 #57BB39
tetradic
#3957BB #BB3998 #BB9D39 #39BB5C
square
#3957BB #BB3998 #BB9D39 #39BB5C
split-complementary
#3957BB #BB5C39 #98BB39
monochromatic
#1C2B5D #2B418C #3957BB #627BCF #91A3DD

Accessibility & contrast

On white

6.45
#3957BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3957BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BB#FFFFFF#000000##FFFFFF
##3957BB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957bb;
/* rgb */ color: rgb(57, 87, 187);
/* oklch */ color: oklch(49.2% 0.161 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f85d0',
    500: '#3957bb',
    950: '#000000',
  },
}
SCSS
$custom: #3957bb;
$custom-light: #7f85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3957bb",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 226.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.16138,
    "h": 267.5
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3957BB

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

Preview Lab → · Contrast checker → · Palette generator →

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