#3954DC#3954DC

#3954DC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.3% C 0.209 H 268.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3954DC
RGBrgb(57, 84, 220)
HSLhsl(230, 70%, 54%)
HSVhsv(230, 74%, 86%)
CMYKcmyk(74.1%, 61.8%, 0%, 13.7%)
CIE-LABlab(41.81, 36.74, -72.24)
CIE-LCHlch(41.81, 81.05, 296.96°)
OKLaboklab(51.27% -0.0039 -0.2088)
OKLCHoklch(51.27% 0.209 268.9)
XYZxyz(17.7715, 12.3759, 69.1485)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954DC #DCC139
analogous
#39A6DC #3954DC #6F39DC
triadic
#3954DC #DC3954 #54DC39
tetradic
#3954DC #DC39A6 #DCC139 #39DC6F
square
#3954DC #DC39A6 #DCC139 #39DC6F
split-complementary
#3954DC #DC6F39 #A6DC39
monochromatic
#172983 #2039B7 #3954DC #6D81E5 #A1AEEE

Accessibility & contrast

On white

6.04
#3954DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3954DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954DC#FFFFFF#000000##FFFFFF
##3954DC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3954dc;
/* rgb */ color: rgb(57, 84, 220);
/* oklch */ color: oklch(51.3% 0.209 268.9);
Tailwind
colors: {
  custom: {
    50: '#8684e8',
    500: '#3954dc',
    950: '#000000',
  },
}
SCSS
$custom: #3954dc;
$custom-light: #8684e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3954dc",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 230.061,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.20883,
    "h": 268.9
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#3954DC
secondary
#DBD096
accent
#CF3BED
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3954DC

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

Preview Lab → · Contrast checker → · Palette generator →

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