#3954BB#3954BB

#3954BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.165 H 268.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3954BB
RGBrgb(57, 84, 187)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 70%, 73%)
CMYKcmyk(69.5%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.24, 24.86, -57.36)
CIE-LCHlch(39.24, 62.51, 293.43°)
OKLaboklab(48.55% -0.0044 -0.1651)
OKLCHoklch(48.55% 0.165 268.5)
XYZxyz(13.8242, 10.7970, 48.3596)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954BB #BBA039
analogous
#3995BB #3954BB #5F39BB
triadic
#3954BB #BB3954 #54BB39
tetradic
#3954BB #BB3995 #BBA039 #39BB5F
square
#3954BB #BB3995 #BBA039 #39BB5F
split-complementary
#3954BB #BB5F39 #95BB39
monochromatic
#1C2A5D #2B3F8C #3954BB #6279CF #91A1DD

Accessibility & contrast

On white

6.65
#3954BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3954BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954BB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954BB#FFFFFF#000000##FFFFFF
##3954BB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3954bb;
/* rgb */ color: rgb(57, 84, 187);
/* oklch */ color: oklch(48.5% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f83d0',
    500: '#3954bb',
    950: '#000000',
  },
}
SCSS
$custom: #3954bb;
$custom-light: #7f83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3954bb",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 227.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.16514,
    "h": 268.5
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#3954BB
secondary
#C8BB87
accent
#BE4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3954BB

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

Preview Lab → · Contrast checker → · Palette generator →

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