#3948C1#3948C1

#3948C1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.188 H 271.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3948C1
RGBrgb(57, 72, 193)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 76%)
CMYKcmyk(70.5%, 62.7%, 0%, 24.3%)
CIE-LABlab(36.66, 34.73, -65.07)
CIE-LCHlch(36.66, 73.76, 298.09°)
OKLaboklab(46.78% 0.005 -0.1879)
OKLCHoklch(46.78% 0.188 271.5)
XYZxyz(13.6271, 9.3535, 51.5290)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C1 #C1B239
analogous
#398CC1 #3948C1 #6E39C1
triadic
#3948C1 #C13948 #48C139
tetradic
#3948C1 #C1398C #C1B239 #39C16E
square
#3948C1 #C1398C #C1B239 #39C16E
split-complementary
#3948C1 #C16E39 #8CC139
monochromatic
#1D2563 #2B3692 #3948C1 #6671D2 #959DE0

Accessibility & contrast

On white

7.31
#3948C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3948C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C1#FFFFFF#000000##FFFFFF
##3948C11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3948c1;
/* rgb */ color: rgb(57, 72, 193);
/* oklch */ color: oklch(46.8% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#817bd5',
    500: '#3948c1',
    950: '#000000',
  },
}
SCSS
$custom: #3948c1;
$custom-light: #817bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c1",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 233.382,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.18794,
    "h": 271.5
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#3948C1
secondary
#CBC48B
accent
#CD4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3948C1

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

Preview Lab → · Contrast checker → · Palette generator →

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