#3957BA#3957BA

#3957BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.160 H 267.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3957BA
RGBrgb(57, 87, 186)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(69.4%, 53.2%, 0%, 27.1%)
CIE-LABlab(39.97, 22.55, -55.59)
CIE-LCHlch(39.97, 59.99, 292.08°)
OKLaboklab(49.08% -0.007 -0.1598)
OKLCHoklch(49.08% 0.16 267.5)
XYZxyz(13.9554, 11.2300, 47.8770)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BA #BA9C39
analogous
#3997BA #3957BA #5C39BA
triadic
#3957BA #BA3957 #57BA39
tetradic
#3957BA #BA3997 #BA9C39 #39BA5C
square
#3957BA #BA3997 #BA9C39 #39BA5C
split-complementary
#3957BA #BA5C39 #97BA39
monochromatic
#1C2B5C #2B418B #3957BA #617BCF #90A2DD

Accessibility & contrast

On white

6.47
#3957BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3957BA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BA#FFFFFF#000000##FFFFFF
##3957BA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957ba;
/* rgb */ color: rgb(57, 87, 186);
/* oklch */ color: oklch(49.1% 0.160 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3957ba',
    950: '#000000',
  },
}
SCSS
$custom: #3957ba;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3957ba",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 226.047,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.16,
    "h": 267.5
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3957BA

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

Preview Lab → · Contrast checker → · Palette generator →

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