#3957B3#3957B3

#3957B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.150 H 267.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3957B3
RGBrgb(57, 87, 179)
HSLhsl(225, 52%, 46%)
HSVhsv(225, 68%, 70%)
CMYKcmyk(68.2%, 51.4%, 0%, 29.8%)
CIE-LABlab(39.48, 19.99, -52.27)
CIE-LCHlch(39.48, 55.96, 290.93°)
OKLaboklab(48.55% -0.0077 -0.1501)
OKLCHoklch(48.55% 0.15 267.1)
XYZxyz(13.2294, 10.9396, 44.0535)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B3 #B39539
analogous
#3994B3 #3957B3 #5839B3
triadic
#3957B3 #B33957 #57B339
tetradic
#3957B3 #B33994 #B39539 #39B358
square
#3957B3 #B33994 #B39539 #39B358
split-complementary
#3957B3 #B35839 #94B339
monochromatic
#1B2A56 #2A4085 #3957B3 #5E79CC #8C9FDA

Accessibility & contrast

On white

6.59
#3957B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3957B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B3#FFFFFF#000000##FFFFFF
##3957B31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3957b3;
/* rgb */ color: rgb(57, 87, 179);
/* oklch */ color: oklch(48.6% 0.150 267.1);
Tailwind
colors: {
  custom: {
    50: '#7d85ca',
    500: '#3957b3',
    950: '#000000',
  },
}
SCSS
$custom: #3957b3;
$custom-light: #7d85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b3",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 225.246,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.15026,
    "h": 267.1
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#3957B3
secondary
#C5B583
accent
#B84DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3957B3

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

Preview Lab → · Contrast checker → · Palette generator →

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