#3954C1#3954C1

#3954C1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.173 H 268.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3954C1
RGBrgb(57, 84, 193)
HSLhsl(228, 54%, 49%)
HSVhsv(228, 70%, 76%)
CMYKcmyk(70.5%, 56.5%, 0%, 24.3%)
CIE-LABlab(39.68, 27.04, -60.14)
CIE-LCHlch(39.68, 65.94, 294.21°)
OKLaboklab(49.02% -0.0041 -0.1733)
OKLCHoklch(49.02% 0.173 268.6)
XYZxyz(14.4800, 11.0593, 51.8133)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954C1 #C1A639
analogous
#3998C1 #3954C1 #6239C1
triadic
#3954C1 #C13954 #54C139
tetradic
#3954C1 #C13998 #C1A639 #39C162
square
#3954C1 #C13998 #C1A639 #39C162
split-complementary
#3954C1 #C16239 #98C139
monochromatic
#1D2B63 #2B3F92 #3954C1 #667BD2 #95A4E0

Accessibility & contrast

On white

6.54
#3954C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3954C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954C1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954C1#FFFFFF#000000##FFFFFF
##3954C11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3954c1;
/* rgb */ color: rgb(57, 84, 193);
/* oklch */ color: oklch(49.0% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#8183d5',
    500: '#3954c1',
    950: '#000000',
  },
}
SCSS
$custom: #3954c1;
$custom-light: #8183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3954c1",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 228.088,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.17332,
    "h": 268.6
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#3954C1
secondary
#CBBE8B
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3954C1

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

Preview Lab → · Contrast checker → · Palette generator →

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