#3954BD#3954BD

#3954BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.168 H 268.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3954BD
RGBrgb(57, 84, 189)
HSLhsl(228, 54%, 48%)
HSVhsv(228, 70%, 74%)
CMYKcmyk(69.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.38, 25.59, -58.29)
CIE-LCHlch(39.38, 63.66, 293.70°)
OKLaboklab(48.71% -0.0043 -0.1678)
OKLCHoklch(48.71% 0.168 268.5)
XYZxyz(14.0398, 10.8832, 49.4950)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954BD #BDA239
analogous
#3996BD #3954BD #6039BD
triadic
#3954BD #BD3954 #54BD39
tetradic
#3954BD #BD3996 #BDA239 #39BD60
square
#3954BD #BD3996 #BDA239 #39BD60
split-complementary
#3954BD #BD6039 #96BD39
monochromatic
#1D2A5F #2B3F8E #3954BD #6379D0 #92A2DE

Accessibility & contrast

On white

6.61
#3954BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3954BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954BD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954BD#FFFFFF#000000##FFFFFF
##3954BD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3954bd;
/* rgb */ color: rgb(57, 84, 189);
/* oklch */ color: oklch(48.7% 0.168 268.5);
Tailwind
colors: {
  custom: {
    50: '#8083d2',
    500: '#3954bd',
    950: '#000000',
  },
}
SCSS
$custom: #3954bd;
$custom-light: #8083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3954bd",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 227.727,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48705,
    "c": 0.16788,
    "h": 268.5
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#3954BD
secondary
#C9BC89
accent
#BF4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3954BD

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

Preview Lab → · Contrast checker → · Palette generator →

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