#3957B8#3957B8

#3957B8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.157 H 267.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3957B8
RGBrgb(57, 87, 184)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 72%)
CMYKcmyk(69%, 52.7%, 0%, 27.8%)
CIE-LABlab(39.82, 21.82, -54.65)
CIE-LCHlch(39.82, 58.84, 291.76°)
OKLaboklab(48.92% -0.0072 -0.1571)
OKLCHoklch(48.92% 0.157 267.4)
XYZxyz(13.7443, 11.1456, 46.7651)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B8 #B89A39
analogous
#3996B8 #3957B8 #5B39B8
triadic
#3957B8 #B83957 #57B839
tetradic
#3957B8 #B83996 #B89A39 #39B85B
square
#3957B8 #B83996 #B89A39 #39B85B
split-complementary
#3957B8 #B85B39 #96B839
monochromatic
#1C2B5B #2B4189 #3957B8 #607ACE #8FA1DC

Accessibility & contrast

On white

6.50
#3957B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3957B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B8#FFFFFF#000000##FFFFFF
##3957B81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957b8;
/* rgb */ color: rgb(57, 87, 184);
/* oklch */ color: oklch(48.9% 0.157 267.4);
Tailwind
colors: {
  custom: {
    50: '#7e85ce',
    500: '#3957b8',
    950: '#000000',
  },
}
SCSS
$custom: #3957b8;
$custom-light: #7e85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b8",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 225.827,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.15723,
    "h": 267.4
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#3957B8
secondary
#C7B886
accent
#BA4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3957B8

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

Preview Lab → · Contrast checker → · Palette generator →

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