#3957B7#3957B7

#3957B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.156 H 267.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3957B7
RGBrgb(57, 87, 183)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 72%)
CMYKcmyk(68.9%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.75, 21.45, -54.18)
CIE-LCHlch(39.75, 58.27, 291.60°)
OKLaboklab(48.85% -0.0073 -0.1557)
OKLCHoklch(48.85% 0.156 267.3)
XYZxyz(13.6398, 11.1038, 46.2150)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B7 #B79939
analogous
#3996B7 #3957B7 #5A39B7
triadic
#3957B7 #B73957 #57B739
tetradic
#3957B7 #B73996 #B79939 #39B75A
square
#3957B7 #B73996 #B79939 #39B75A
split-complementary
#3957B7 #B75A39 #96B739
monochromatic
#1C2B5A #2A4188 #3957B7 #607ACD #8EA1DC

Accessibility & contrast

On white

6.52
#3957B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3957B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B7#FFFFFF#000000##FFFFFF
##3957B71.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957b7;
/* rgb */ color: rgb(57, 87, 183);
/* oklch */ color: oklch(48.8% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#7e85cd',
    500: '#3957b7',
    950: '#000000',
  },
}
SCSS
$custom: #3957b7;
$custom-light: #7e85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b7",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 225.714,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.15584,
    "h": 267.3
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#3957B7
secondary
#C7B785
accent
#BA4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3957B7

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

Preview Lab → · Contrast checker → · Palette generator →

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