#3955BF#3955BF

#3955BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.169 H 268.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3955BF
RGBrgb(57, 85, 191)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(70.2%, 55.5%, 0%, 25.1%)
CIE-LABlab(39.79, 25.67, -58.79)
CIE-LCHlch(39.79, 64.15, 293.59°)
OKLaboklab(49.06% -0.005 -0.1693)
OKLCHoklch(49.06% 0.169 268.3)
XYZxyz(14.3366, 11.1270, 50.6723)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955BF #BFA339
analogous
#3998BF #3955BF #6039BF
triadic
#3955BF #BF3955 #55BF39
tetradic
#3955BF #BF3998 #BFA339 #39BF60
square
#3955BF #BF3998 #BFA339 #39BF60
split-complementary
#3955BF #BF6039 #98BF39
monochromatic
#1D2B61 #2B4090 #3955BF #647BD1 #93A3DF

Accessibility & contrast

On white

6.51
#3955BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3955BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955BF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955BF#FFFFFF#000000##FFFFFF
##3955BF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3955bf;
/* rgb */ color: rgb(57, 85, 191);
/* oklch */ color: oklch(49.1% 0.169 268.3);
Tailwind
colors: {
  custom: {
    50: '#8084d3',
    500: '#3955bf',
    950: '#000000',
  },
}
SCSS
$custom: #3955bf;
$custom-light: #8084d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3955bf",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 227.463,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.16935,
    "h": 268.3
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#3955BF
secondary
#CABD8A
accent
#BF4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3955BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3955BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva