#3954DA#3954DA

#3954DA is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.1% C 0.206 H 268.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3954DA
RGBrgb(57, 84, 218)
HSLhsl(230, 69%, 54%)
HSVhsv(230, 74%, 85%)
CMYKcmyk(73.9%, 61.5%, 0%, 14.5%)
CIE-LABlab(41.64, 36.03, -71.37)
CIE-LCHlch(41.64, 79.95, 296.79°)
OKLaboklab(51.1% -0.0039 -0.2062)
OKLCHoklch(51.1% 0.206 268.9)
XYZxyz(17.5082, 12.2706, 67.7618)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954DA #DABF39
analogous
#39A5DA #3954DA #6F39DA
triadic
#3954DA #DA3954 #54DA39
tetradic
#3954DA #DA39A5 #DABF39 #39DA6F
square
#3954DA #DA39A5 #DABF39 #39DA6F
split-complementary
#3954DA #DA6F39 #A5DA39
monochromatic
#182A81 #223AB4 #3954DA #6D81E4 #A0ADED

Accessibility & contrast

On white

6.08
#3954DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3954DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954DA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954DA#FFFFFF#000000##FFFFFF
##3954DA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3954da;
/* rgb */ color: rgb(57, 84, 218);
/* oklch */ color: oklch(51.1% 0.206 268.9);
Tailwind
colors: {
  custom: {
    50: '#8684e6',
    500: '#3954da',
    950: '#000000',
  },
}
SCSS
$custom: #3954da;
$custom-light: #8684e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3954da",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 229.938,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.20627,
    "h": 268.9
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#3954DA
secondary
#DACE95
accent
#CE3CEB
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3954DA

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

Preview Lab → · Contrast checker → · Palette generator →

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