#3948C4#3948C4

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

Color values

HEX#3948C4
RGBrgb(57, 72, 196)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.9%, 63.3%, 0%, 23.1%)
CIE-LABlab(36.91, 35.78, -66.41)
CIE-LCHlch(36.91, 75.44, 298.32°)
OKLaboklab(47.04% 0.0049 -0.1918)
OKLCHoklch(47.04% 0.192 271.5)
XYZxyz(13.9651, 9.4887, 53.3094)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C4 #C4B539
analogous
#398EC4 #3948C4 #6F39C4
triadic
#3948C4 #C43948 #48C439
tetradic
#3948C4 #C4398E #C4B539 #39C46F
square
#3948C4 #C4398E #C4B539 #39C46F
split-complementary
#3948C4 #C46F39 #8EC439
monochromatic
#1D2565 #2B3795 #3948C4 #6773D3 #979FE1

Accessibility & contrast

On white

7.25
#3948C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3948C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C4#FFFFFF#000000##FFFFFF
##3948C41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3948c4;
/* rgb */ color: rgb(57, 72, 196);
/* oklch */ color: oklch(47.0% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#827bd7',
    500: '#3948c4',
    950: '#000000',
  },
}
SCSS
$custom: #3948c4;
$custom-light: #827bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c4",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 233.525,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.19186,
    "h": 271.5
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3948C4

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

Preview Lab → · Contrast checker → · Palette generator →

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