#3947CF#3947CF

#3947CF is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 47.9% C 0.207 H 271.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3947CF
RGBrgb(57, 71, 207)
HSLhsl(234, 61%, 52%)
HSVhsv(234, 72%, 81%)
CMYKcmyk(72.5%, 65.7%, 0%, 18.8%)
CIE-LABlab(37.63, 40.25, -71.62)
CIE-LCHlch(37.63, 82.16, 299.33°)
OKLaboklab(47.86% 0.0048 -0.2071)
OKLCHoklch(47.86% 0.207 271.3)
XYZxyz(15.1992, 9.8798, 60.1253)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947CF #CFC139
analogous
#3992CF #3947CF #7639CF
triadic
#3947CF #CF3947 #47CF39
tetradic
#3947CF #CF3992 #CFC139 #39CF76
square
#3947CF #CF3992 #CFC139 #39CF76
split-complementary
#3947CF #CF7639 #92CF39
monochromatic
#1C2472 #2833A3 #3947CF #6A75DB #9CA3E7

Accessibility & contrast

On white

7.06
#3947CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3947CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947CF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947CF#FFFFFF#000000##FFFFFF
##3947CF1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3947cf;
/* rgb */ color: rgb(57, 71, 207);
/* oklch */ color: oklch(47.9% 0.207 271.3);
Tailwind
colors: {
  custom: {
    50: '#857adf',
    500: '#3947cf',
    950: '#000000',
  },
}
SCSS
$custom: #3947cf;
$custom-light: #857adf;
$custom-dark: #000000;
JSON
{
  "hex": "#3947cf",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 234.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.20714,
    "h": 271.3
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#3947CF
secondary
#D3CD91
accent
#D544E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3947CF

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

Preview Lab → · Contrast checker → · Palette generator →

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