#3954BC#3954BC

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

Color values

HEX#3954BC
RGBrgb(57, 84, 188)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 70%, 74%)
CMYKcmyk(69.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.31, 25.22, -57.83)
CIE-LCHlch(39.31, 63.09, 293.57°)
OKLaboklab(48.63% -0.0044 -0.1664)
OKLCHoklch(48.63% 0.167 268.5)
XYZxyz(13.9316, 10.8400, 48.9253)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954BC #BCA139
analogous
#3995BC #3954BC #6039BC
triadic
#3954BC #BC3954 #54BC39
tetradic
#3954BC #BC3995 #BCA139 #39BC60
square
#3954BC #BC3995 #BCA139 #39BC60
split-complementary
#3954BC #BC6039 #95BC39
monochromatic
#1D2A5E #2B3F8D #3954BC #6379D0 #92A1DE

Accessibility & contrast

On white

6.63
#3954BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3954BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954BC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954BC#FFFFFF#000000##FFFFFF
##3954BC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3954bc;
/* rgb */ color: rgb(57, 84, 188);
/* oklch */ color: oklch(48.6% 0.167 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f83d1',
    500: '#3954bc',
    950: '#000000',
  },
}
SCSS
$custom: #3954bc;
$custom-light: #7f83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3954bc",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 227.634,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.16651,
    "h": 268.5
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#3954BC
secondary
#C9BB88
accent
#BF4BDD
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3954BC

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

Preview Lab → · Contrast checker → · Palette generator →

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