#3947D2#3947D2

#3947D2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.211 H 271.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3947D2
RGBrgb(57, 71, 210)
HSLhsl(235, 63%, 52%)
HSVhsv(235, 73%, 82%)
CMYKcmyk(72.9%, 66.2%, 0%, 17.6%)
CIE-LABlab(37.89, 41.28, -72.92)
CIE-LCHlch(37.89, 83.79, 299.52°)
OKLaboklab(48.13% 0.0046 -0.2109)
OKLCHoklch(48.13% 0.211 271.2)
XYZxyz(15.5695, 10.0279, 62.0753)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947D2 #D2C439
analogous
#3993D2 #3947D2 #7839D2
triadic
#3947D2 #D23947 #47D239
tetradic
#3947D2 #D23993 #D2C439 #39D278
square
#3947D2 #D23993 #D2C439 #39D278
split-complementary
#3947D2 #D27839 #93D239
monochromatic
#1B2376 #2632A8 #3947D2 #6B75DD #9DA4E9

Accessibility & contrast

On white

6.99
#3947D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3947D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3947D2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947D2#FFFFFF#000000##FFFFFF
##3947D21.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3947d2;
/* rgb */ color: rgb(57, 71, 210);
/* oklch */ color: oklch(48.1% 0.211 271.2);
Tailwind
colors: {
  custom: {
    50: '#857ae1',
    500: '#3947d2',
    950: '#000000',
  },
}
SCSS
$custom: #3947d2;
$custom-light: #857ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3947d2",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 234.51,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.21092,
    "h": 271.2
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#3947D2
secondary
#D5CF92
accent
#D742E6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3947D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3947D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva