#3948D7#3948D7

#3948D7 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.216 H 270.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3948D7
RGBrgb(57, 72, 215)
HSLhsl(234, 66%, 53%)
HSVhsv(234, 73%, 84%)
CMYKcmyk(73.5%, 66.5%, 0%, 15.7%)
CIE-LABlab(38.57, 42.40, -74.69)
CIE-LCHlch(38.57, 85.89, 299.58°)
OKLaboklab(48.76% 0.0036 -0.216)
OKLCHoklch(48.76% 0.216 270.9)
XYZxyz(16.2663, 10.4092, 65.4287)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948D7 #D7C839
analogous
#3997D7 #3948D7 #7939D7
triadic
#3948D7 #D73948 #48D739
tetradic
#3948D7 #D73997 #D7C839 #39D779
square
#3948D7 #D73997 #D7C839 #39D779
split-complementary
#3948D7 #D77939 #97D739
monochromatic
#19237C #2331AF #3948D7 #6C77E1 #9FA6EC

Accessibility & contrast

On white

6.81
#3948D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3948D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3948D7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948D7#FFFFFF#000000##FFFFFF
##3948D71.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3948d7;
/* rgb */ color: rgb(57, 72, 215);
/* oklch */ color: oklch(48.8% 0.216 270.9);
Tailwind
colors: {
  custom: {
    50: '#867be5',
    500: '#3948d7',
    950: '#000000',
  },
}
SCSS
$custom: #3948d7;
$custom-light: #867be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3948d7",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 234.304,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.21607,
    "h": 270.9
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#3948D7
secondary
#D8D194
accent
#D93EE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3948D7

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

Preview Lab → · Contrast checker → · Palette generator →

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