#3946B0#3946B0

#3946B0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.168 H 272.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3946B0
RGBrgb(57, 70, 176)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(67.6%, 60.2%, 0%, 31%)
CIE-LABlab(34.77, 29.97, -58.13)
CIE-LCHlch(34.77, 65.40, 297.27°)
OKLaboklab(44.95% 0.007 -0.1675)
OKLCHoklch(44.95% 0.168 272.4)
XYZxyz(11.7113, 8.3837, 42.0669)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946B0 #B0A339
analogous
#3981B0 #3946B0 #6739B0
triadic
#3946B0 #B03946 #46B039
tetradic
#3946B0 #B03981 #B0A339 #39B067
square
#3946B0 #B03981 #B0A339 #39B067
split-complementary
#3946B0 #B06739 #81B039
monochromatic
#1B2154 #2A3482 #3946B0 #5C68CA #8A93D9

Accessibility & contrast

On white

7.84
#3946B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3946B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946B0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946B0#FFFFFF#000000##FFFFFF
##3946B01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3946b0;
/* rgb */ color: rgb(57, 70, 176);
/* oklch */ color: oklch(44.9% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e79c8',
    500: '#3946b0',
    950: '#000000',
  },
}
SCSS
$custom: #3946b0;
$custom-light: #7e79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3946b0",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 233.445,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.16768,
    "h": 272.4
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#3946B0
secondary
#C4BC81
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3946B0

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

Preview Lab → · Contrast checker → · Palette generator →

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