#3951BE#3951BE

#3951BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.173 H 269.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3951BE
RGBrgb(57, 81, 190)
HSLhsl(229, 54%, 48%)
HSVhsv(229, 70%, 75%)
CMYKcmyk(70%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.67, 27.89, -60.03)
CIE-LCHlch(38.67, 66.19, 294.92°)
OKLaboklab(48.2% -0.0018 -0.173)
OKLCHoklch(48.2% 0.173 269.4)
XYZxyz(13.9209, 10.4710, 49.9927)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951BE #BEA639
analogous
#3993BE #3951BE #6339BE
triadic
#3951BE #BE3951 #51BE39
tetradic
#3951BE #BE3993 #BEA639 #39BE63
square
#3951BE #BE3993 #BEA639 #39BE63
split-complementary
#3951BE #BE6339 #93BE39
monochromatic
#1D2960 #2B3D8F #3951BE #6477D0 #93A1DF

Accessibility & contrast

On white

6.79
#3951BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3951BE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951BE#FFFFFF#000000##FFFFFF
##3951BE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3951be;
/* rgb */ color: rgb(57, 81, 190);
/* oklch */ color: oklch(48.2% 0.173 269.4);
Tailwind
colors: {
  custom: {
    50: '#8081d2',
    500: '#3951be',
    950: '#000000',
  },
}
SCSS
$custom: #3951be;
$custom-light: #8081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3951be",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 229.173,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.17297,
    "h": 269.4
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#3951BE
secondary
#CABE89
accent
#C34BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3951BE

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

Preview Lab → · Contrast checker → · Palette generator →

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