#3954C3#3954C3

#3954C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.176 H 268.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3954C3
RGBrgb(57, 84, 195)
HSLhsl(228, 55%, 49%)
HSVhsv(228, 71%, 76%)
CMYKcmyk(70.8%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.83, 27.77, -61.06)
CIE-LCHlch(39.83, 67.08, 294.45°)
OKLaboklab(49.18% -0.004 -0.176)
OKLCHoklch(49.18% 0.176 268.7)
XYZxyz(14.7046, 11.1491, 52.9962)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954C3 #C3A839
analogous
#3999C3 #3954C3 #6339C3
triadic
#3954C3 #C33954 #54C339
tetradic
#3954C3 #C33999 #C3A839 #39C363
square
#3954C3 #C33999 #C3A839 #39C363
split-complementary
#3954C3 #C36339 #99C339
monochromatic
#1D2B64 #2B4094 #3954C3 #677CD2 #96A5E0

Accessibility & contrast

On white

6.50
#3954C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3954C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954C3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954C3#FFFFFF#000000##FFFFFF
##3954C31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3954c3;
/* rgb */ color: rgb(57, 84, 195);
/* oklch */ color: oklch(49.2% 0.176 268.7);
Tailwind
colors: {
  custom: {
    50: '#8183d6',
    500: '#3954c3',
    950: '#000000',
  },
}
SCSS
$custom: #3954c3;
$custom-light: #8183d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3954c3",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 228.261,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.17602,
    "h": 268.7
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#3954C3
secondary
#CCBF8C
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3954C3

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

Preview Lab → · Contrast checker → · Palette generator →

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