#3947B5#3947B5

#3947B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.173 H 272.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3947B5
RGBrgb(57, 71, 181)
HSLhsl(233, 52%, 47%)
HSVhsv(233, 69%, 71%)
CMYKcmyk(68.5%, 60.8%, 0%, 29%)
CIE-LABlab(35.42, 31.11, -60.03)
CIE-LCHlch(35.42, 67.61, 297.39°)
OKLaboklab(45.56% 0.0061 -0.1731)
OKLCHoklch(45.56% 0.173 272)
XYZxyz(12.2783, 8.7114, 44.7415)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B5 #B5A739
analogous
#3985B5 #3947B5 #6939B5
triadic
#3947B5 #B53947 #47B539
tetradic
#3947B5 #B53985 #B5A739 #39B569
square
#3947B5 #B53985 #B5A739 #39B569
split-complementary
#3947B5 #B56939 #85B539
monochromatic
#1C2258 #2A3586 #3947B5 #5F6BCD #8D96DB

Accessibility & contrast

On white

7.66
#3947B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3947B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B5#FFFFFF#000000##FFFFFF
##3947B51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3947b5;
/* rgb */ color: rgb(57, 71, 181);
/* oklch */ color: oklch(45.6% 0.173 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f7acc',
    500: '#3947b5',
    950: '#000000',
  },
}
SCSS
$custom: #3947b5;
$custom-light: #7f7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b5",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 233.226,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45558,
    "c": 0.1732,
    "h": 272
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#3947B5
secondary
#C6BE84
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947B5

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

Preview Lab → · Contrast checker → · Palette generator →

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