#3947E2#3947E2

#3947E2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.231 H 270.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3947E2
RGBrgb(57, 71, 226)
HSLhsl(235, 74%, 55%)
HSVhsv(235, 75%, 89%)
CMYKcmyk(74.8%, 68.6%, 0%, 11.4%)
CIE-LABlab(39.35, 46.74, -79.69)
CIE-LCHlch(39.35, 92.39, 300.39°)
OKLaboklab(49.64% 0.0031 -0.2306)
OKLCHoklch(49.64% 0.231 270.8)
XYZxyz(17.6634, 10.8654, 73.1031)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947E2 #E2D439
analogous
#399BE2 #3947E2 #8039E2
triadic
#3947E2 #E23947 #47E239
tetradic
#3947E2 #E2399B #E2D439 #39E280
square
#3947E2 #E2399B #E2D439 #39E280
split-complementary
#3947E2 #E28039 #9BE239
monochromatic
#151E8C #1C2AC1 #3947E2 #6E79EA #A4AAF2

Accessibility & contrast

On white

6.62
#3947E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3947E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3947E2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947E2#FFFFFF#000000##FFFFFF
##3947E21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3947e2;
/* rgb */ color: rgb(57, 71, 226);
/* oklch */ color: oklch(49.6% 0.231 270.8);
Tailwind
colors: {
  custom: {
    50: '#897bec',
    500: '#3947e2',
    950: '#000000',
  },
}
SCSS
$custom: #3947e2;
$custom-light: #897bec;
$custom-dark: #000000;
JSON
{
  "hex": "#3947e2",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 235.03,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.23067,
    "h": 270.8
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#3947E2
secondary
#DFD998
accent
#E237F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3947E2

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

Preview Lab → · Contrast checker → · Palette generator →

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