#3946A0#3946A0

#3946A0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.145 H 272.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3946A0
RGBrgb(57, 70, 160)
HSLhsl(232, 47%, 43%)
HSVhsv(232, 64%, 63%)
CMYKcmyk(64.4%, 56.3%, 0%, 37.3%)
CIE-LABlab(33.54, 24.25, -50.57)
CIE-LCHlch(33.54, 56.08, 295.62°)
OKLaboklab(43.64% 0.0068 -0.1453)
OKLCHoklch(43.64% 0.145 272.7)
XYZxyz(10.2206, 7.7874, 34.2154)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946A0 #A09339
analogous
#397AA0 #3946A0 #5F39A0
triadic
#3946A0 #A03946 #46A039
tetradic
#3946A0 #A0397A #A09339 #39A05F
square
#3946A0 #A0397A #A09339 #39A05F
split-complementary
#3946A0 #A05F39 #7AA039
monochromatic
#191F46 #293273 #3946A0 #5462C2 #818BD2

Accessibility & contrast

On white

8.21
#3946A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3946A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946A0
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946A0#FFFFFF#000000##FFFFFF
##3946A01.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3946a0;
/* rgb */ color: rgb(57, 70, 160);
/* oklch */ color: oklch(43.6% 0.145 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b79bd',
    500: '#3946a0',
    950: '#000000',
  },
}
SCSS
$custom: #3946a0;
$custom-light: #7b79bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3946a0",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 160
  },
  "hsl": {
    "h": 232.427,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.14544,
    "h": 272.7
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#3946A0
secondary
#BCB379
accent
#C651D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3946A0

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

Preview Lab → · Contrast checker → · Palette generator →

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