#3957B5#3957B5

#3957B5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.153 H 267.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3957B5
RGBrgb(57, 87, 181)
HSLhsl(225, 52%, 47%)
HSVhsv(225, 69%, 71%)
CMYKcmyk(68.5%, 51.9%, 0%, 29%)
CIE-LABlab(39.62, 20.72, -53.23)
CIE-LCHlch(39.62, 57.12, 291.27°)
OKLaboklab(48.7% -0.0075 -0.1529)
OKLCHoklch(48.7% 0.153 267.2)
XYZxyz(13.4331, 11.0211, 45.1265)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B5 #B59739
analogous
#3995B5 #3957B5 #5939B5
triadic
#3957B5 #B53957 #57B539
tetradic
#3957B5 #B53995 #B59739 #39B559
square
#3957B5 #B53995 #B59739 #39B559
split-complementary
#3957B5 #B55939 #95B539
monochromatic
#1C2A58 #2A4186 #3957B5 #5F79CD #8DA0DB

Accessibility & contrast

On white

6.55
#3957B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3957B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B5#FFFFFF#000000##FFFFFF
##3957B51.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3957b5;
/* rgb */ color: rgb(57, 87, 181);
/* oklch */ color: oklch(48.7% 0.153 267.2);
Tailwind
colors: {
  custom: {
    50: '#7e85cc',
    500: '#3957b5',
    950: '#000000',
  },
}
SCSS
$custom: #3957b5;
$custom-light: #7e85cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b5",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 225.484,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.487,
    "c": 0.15305,
    "h": 267.2
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#3957B5
secondary
#C6B684
accent
#B94CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3957B5

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

Preview Lab → · Contrast checker → · Palette generator →

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