#3946B8#3946B8

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

Color values

HEX#3946B8
RGBrgb(57, 70, 184)
HSLhsl(234, 53%, 47%)
HSVhsv(234, 69%, 72%)
CMYKcmyk(69%, 62%, 0%, 27.8%)
CIE-LABlab(35.42, 32.81, -61.81)
CIE-LCHlch(35.42, 69.98, 297.96°)
OKLaboklab(45.63% 0.0068 -0.1783)
OKLCHoklch(45.63% 0.178 272.2)
XYZxyz(12.5263, 8.7097, 46.3591)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946B8 #B8AB39
analogous
#3986B8 #3946B8 #6B39B8
triadic
#3946B8 #B83946 #46B839
tetradic
#3946B8 #B83986 #B8AB39 #39B86B
square
#3946B8 #B83986 #B8AB39 #39B86B
split-complementary
#3946B8 #B86B39 #86B839
monochromatic
#1C225B #2B3489 #3946B8 #606CCE #8F97DC

Accessibility & contrast

On white

7.66
#3946B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3946B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946B8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946B8#FFFFFF#000000##FFFFFF
##3946B81.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)
#0059BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3946b8;
/* rgb */ color: rgb(57, 70, 184);
/* oklch */ color: oklch(45.6% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#8079ce',
    500: '#3946b8',
    950: '#000000',
  },
}
SCSS
$custom: #3946b8;
$custom-light: #8079ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3946b8",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 233.858,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.17845,
    "h": 272.2
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946B8

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

Preview Lab → · Contrast checker → · Palette generator →

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