#3951BD#3951BD

#3951BD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.172 H 269.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3951BD
RGBrgb(57, 81, 189)
HSLhsl(229, 54%, 48%)
HSVhsv(229, 70%, 74%)
CMYKcmyk(69.8%, 57.1%, 0%, 25.9%)
CIE-LABlab(38.60, 27.53, -59.56)
CIE-LCHlch(38.60, 65.62, 294.81°)
OKLaboklab(48.12% -0.0018 -0.1716)
OKLCHoklch(48.12% 0.172 269.4)
XYZxyz(13.8119, 10.4275, 49.4190)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951BD #BDA539
analogous
#3993BD #3951BD #6339BD
triadic
#3951BD #BD3951 #51BD39
tetradic
#3951BD #BD3993 #BDA539 #39BD63
square
#3951BD #BD3993 #BDA539 #39BD63
split-complementary
#3951BD #BD6339 #93BD39
monochromatic
#1D295F #2B3D8E #3951BD #6377D0 #92A0DE

Accessibility & contrast

On white

6.81
#3951BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3951BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951BD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951BD#FFFFFF#000000##FFFFFF
##3951BD1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3951bd;
/* rgb */ color: rgb(57, 81, 189);
/* oklch */ color: oklch(48.1% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#8081d2',
    500: '#3951bd',
    950: '#000000',
  },
}
SCSS
$custom: #3951bd;
$custom-light: #8081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3951bd",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 229.091,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.17162,
    "h": 269.4
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#3951BD
secondary
#C9BD89
accent
#C24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3951BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3951BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva