#3948D4#3948D4

#3948D4 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.5% C 0.212 H 271.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3948D4
RGBrgb(57, 72, 212)
HSLhsl(234, 64%, 53%)
HSVhsv(234, 73%, 83%)
CMYKcmyk(73.1%, 66%, 0%, 16.9%)
CIE-LABlab(38.30, 41.36, -73.41)
CIE-LCHlch(38.30, 84.26, 299.40°)
OKLaboklab(48.48% 0.0038 -0.2123)
OKLCHoklch(48.48% 0.212 271)
XYZxyz(15.8843, 10.2564, 63.4171)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948D4 #D4C539
analogous
#3995D4 #3948D4 #7839D4
triadic
#3948D4 #D43948 #48D439
tetradic
#3948D4 #D43995 #D4C539 #39D478
square
#3948D4 #D43995 #D4C539 #39D478
split-complementary
#3948D4 #D47839 #95D439
monochromatic
#1A2378 #2532AB #3948D4 #6B76DF #9EA5EA

Accessibility & contrast

On white

6.88
#3948D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3948D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3948D4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948D4#FFFFFF#000000##FFFFFF
##3948D41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3948d4;
/* rgb */ color: rgb(57, 72, 212);
/* oklch */ color: oklch(48.5% 0.212 271.0);
Tailwind
colors: {
  custom: {
    50: '#867be2',
    500: '#3948d4',
    950: '#000000',
  },
}
SCSS
$custom: #3948d4;
$custom-light: #867be2;
$custom-dark: #000000;
JSON
{
  "hex": "#3948d4",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 234.194,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.21231,
    "h": 271
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#3948D4
secondary
#D6CF93
accent
#D740E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3948D4

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

Preview Lab → · Contrast checker → · Palette generator →

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