#3957BE#3957BE

#3957BE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.166 H 267.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3957BE
RGBrgb(57, 87, 190)
HSLhsl(226, 54%, 48%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70%, 54.2%, 0%, 25.5%)
CIE-LABlab(40.25, 24.01, -57.47)
CIE-LCHlch(40.25, 62.28, 292.67°)
OKLaboklab(49.38% -0.0067 -0.1654)
OKLCHoklch(49.38% 0.166 267.7)
XYZxyz(14.3866, 11.4025, 50.1479)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957BE #BEA039
analogous
#3999BE #3957BE #5D39BE
triadic
#3957BE #BE3957 #57BE39
tetradic
#3957BE #BE3999 #BEA039 #39BE5D
square
#3957BE #BE3999 #BEA039 #39BE5D
split-complementary
#3957BE #BE5D39 #99BE39
monochromatic
#1D2C60 #2B418F #3957BE #647CD0 #93A4DF

Accessibility & contrast

On white

6.40
#3957BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3957BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957BE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957BE#FFFFFF#000000##FFFFFF
##3957BE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3957be;
/* rgb */ color: rgb(57, 87, 190);
/* oklch */ color: oklch(49.4% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#8086d2',
    500: '#3957be',
    950: '#000000',
  },
}
SCSS
$custom: #3957be;
$custom-light: #8086d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3957be",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 226.466,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.1655,
    "h": 267.7
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#3957BE
secondary
#CABB89
accent
#BC4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3957BE

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

Preview Lab → · Contrast checker → · Palette generator →

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