#3946B5#3946B5

#3946B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.174 H 272.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3946B5
RGBrgb(57, 70, 181)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 69%, 71%)
CMYKcmyk(68.5%, 61.3%, 0%, 29%)
CIE-LABlab(35.17, 31.75, -60.44)
CIE-LCHlch(35.17, 68.27, 297.71°)
OKLaboklab(45.37% 0.0069 -0.1743)
OKLCHoklch(45.37% 0.174 272.3)
XYZxyz(12.2152, 8.5852, 44.7205)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946B5 #B5A839
analogous
#3984B5 #3946B5 #6A39B5
triadic
#3946B5 #B53946 #46B539
tetradic
#3946B5 #B53984 #B5A839 #39B56A
square
#3946B5 #B53984 #B5A839 #39B56A
split-complementary
#3946B5 #B56A39 #84B539
monochromatic
#1C2258 #2A3486 #3946B5 #5F6ACD #8D95DB

Accessibility & contrast

On white

7.73
#3946B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3946B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946B5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946B5#FFFFFF#000000##FFFFFF
##3946B51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3946b5;
/* rgb */ color: rgb(57, 70, 181);
/* oklch */ color: oklch(45.4% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#7f79cc',
    500: '#3946b5',
    950: '#000000',
  },
}
SCSS
$custom: #3946b5;
$custom-light: #7f79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3946b5",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 233.71,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.17443,
    "h": 272.3
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#3946B5
secondary
#C6BF84
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3946B5

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

Preview Lab → · Contrast checker → · Palette generator →

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