#3946B7#3946B7

#3946B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.177 H 272.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3946B7
RGBrgb(57, 70, 183)
HSLhsl(234, 53%, 47%)
HSVhsv(234, 69%, 72%)
CMYKcmyk(68.9%, 61.7%, 0%, 28.2%)
CIE-LABlab(35.34, 32.46, -61.35)
CIE-LCHlch(35.34, 69.41, 297.88°)
OKLaboklab(45.55% 0.0069 -0.177)
OKLCHoklch(45.55% 0.177 272.2)
XYZxyz(12.4219, 8.6679, 45.8090)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946B7 #B7AA39
analogous
#3985B7 #3946B7 #6B39B7
triadic
#3946B7 #B73946 #46B739
tetradic
#3946B7 #B73985 #B7AA39 #39B76B
square
#3946B7 #B73985 #B7AA39 #39B76B
split-complementary
#3946B7 #B76B39 #85B739
monochromatic
#1C225A #2A3488 #3946B7 #606BCD #8E96DC

Accessibility & contrast

On white

7.68
#3946B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3946B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946B7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946B7#FFFFFF#000000##FFFFFF
##3946B71.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3946b7;
/* rgb */ color: rgb(57, 70, 183);
/* oklch */ color: oklch(45.5% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f79ce',
    500: '#3946b7',
    950: '#000000',
  },
}
SCSS
$custom: #3946b7;
$custom-light: #7f79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3946b7",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 233.81,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.17711,
    "h": 272.2
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#3946B7
secondary
#C7C085
accent
#CD4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3946B7

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

Preview Lab → · Contrast checker → · Palette generator →

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