#3957B9#3957B9

#3957B9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.159 H 267.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3957B9
RGBrgb(57, 87, 185)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(69.2%, 53%, 0%, 27.5%)
CIE-LABlab(39.89, 22.18, -55.12)
CIE-LCHlch(39.89, 59.42, 291.92°)
OKLaboklab(49% -0.0071 -0.1584)
OKLCHoklch(49% 0.159 267.4)
XYZxyz(13.8495, 11.1877, 47.3191)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957B9 #B99B39
analogous
#3997B9 #3957B9 #5B39B9
triadic
#3957B9 #B93957 #57B939
tetradic
#3957B9 #B93997 #B99B39 #39B95B
square
#3957B9 #B93997 #B99B39 #39B95B
split-complementary
#3957B9 #B95B39 #97B939
monochromatic
#1C2B5B #2B418A #3957B9 #617BCE #90A2DD

Accessibility & contrast

On white

6.49
#3957B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3957B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957B9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957B9#FFFFFF#000000##FFFFFF
##3957B91.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3957b9;
/* rgb */ color: rgb(57, 87, 185);
/* oklch */ color: oklch(49.0% 0.159 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3957b9',
    950: '#000000',
  },
}
SCSS
$custom: #3957b9;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3957b9",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 225.938,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.15861,
    "h": 267.4
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#3957B9
secondary
#C8B886
accent
#BA4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3957B9

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

Preview Lab → · Contrast checker → · Palette generator →

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