#3948C5#3948C5

#3948C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.193 H 271.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#3948C5
RGBrgb(57, 72, 197)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(71.1%, 63.5%, 0%, 22.7%)
CIE-LABlab(36.99, 36.14, -66.85)
CIE-LCHlch(36.99, 76.00, 298.39°)
OKLaboklab(47.13% 0.0048 -0.1931)
OKLCHoklch(47.13% 0.193 271.4)
XYZxyz(14.0793, 9.5344, 53.9108)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C5 #C5B639
analogous
#398EC5 #3948C5 #7039C5
triadic
#3948C5 #C53948 #48C539
tetradic
#3948C5 #C5398E #C5B639 #39C570
square
#3948C5 #C5398E #C5B639 #39C570
split-complementary
#3948C5 #C57039 #8EC539
monochromatic
#1E2566 #2B3796 #3948C5 #6873D3 #979FE1

Accessibility & contrast

On white

7.22
#3948C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3948C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C5#FFFFFF#000000##FFFFFF
##3948C51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3948c5;
/* rgb */ color: rgb(57, 72, 197);
/* oklch */ color: oklch(47.1% 0.193 271.4);
Tailwind
colors: {
  custom: {
    50: '#827bd8',
    500: '#3948c5',
    950: '#000000',
  },
}
SCSS
$custom: #3948c5;
$custom-light: #827bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c5",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 233.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.19316,
    "h": 271.4
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#3948C5
secondary
#CDC68D
accent
#CE49DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3948C5

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

Preview Lab → · Contrast checker → · Palette generator →

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