#3948C3#3948C3

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

Color values

HEX#3948C3
RGBrgb(57, 72, 195)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(70.8%, 63.1%, 0%, 23.5%)
CIE-LABlab(36.82, 35.43, -65.96)
CIE-LCHlch(36.82, 74.88, 298.24°)
OKLaboklab(46.95% 0.0049 -0.1905)
OKLCHoklch(46.95% 0.191 271.5)
XYZxyz(13.8517, 9.4433, 52.7119)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C3 #C3B439
analogous
#398DC3 #3948C3 #6F39C3
triadic
#3948C3 #C33948 #48C339
tetradic
#3948C3 #C3398D #C3B439 #39C36F
square
#3948C3 #C3398D #C3B439 #39C36F
split-complementary
#3948C3 #C36F39 #8DC339
monochromatic
#1D2564 #2B3794 #3948C3 #6772D2 #969EE0

Accessibility & contrast

On white

7.27
#3948C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3948C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C3#FFFFFF#000000##FFFFFF
##3948C31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3948c3;
/* rgb */ color: rgb(57, 72, 195);
/* oklch */ color: oklch(47.0% 0.191 271.5);
Tailwind
colors: {
  custom: {
    50: '#827bd6',
    500: '#3948c3',
    950: '#000000',
  },
}
SCSS
$custom: #3948c3;
$custom-light: #827bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c3",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 233.478,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.19056,
    "h": 271.5
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#3948C3
secondary
#CCC58C
accent
#CE4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3948C3

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

Preview Lab → · Contrast checker → · Palette generator →

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