#3941A3#3941A3

#3941A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.156 H 274.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3941A3
RGBrgb(57, 65, 163)
HSLhsl(235, 48%, 43%)
HSVhsv(235, 65%, 64%)
CMYKcmyk(65%, 60.1%, 0%, 36.1%)
CIE-LABlab(32.47, 28.59, -54.11)
CIE-LCHlch(32.47, 61.20, 297.85°)
OKLaboklab(42.92% 0.0115 -0.1557)
OKLCHoklch(42.92% 0.156 274.2)
XYZxyz(10.1863, 7.2939, 35.5143)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A3 #A39B39
analogous
#3976A3 #3941A3 #6639A3
triadic
#3941A3 #A33941 #41A339
tetradic
#3941A3 #A33976 #A39B39 #39A366
square
#3941A3 #A33976 #A39B39 #39A366
split-complementary
#3941A3 #A36639 #76A339
monochromatic
#191D48 #292F76 #3941A3 #555EC4 #8389D4

Accessibility & contrast

On white

8.54
#3941A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3941A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A3#FFFFFF#000000##FFFFFF
##3941A31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3941a3;
/* rgb */ color: rgb(57, 65, 163);
/* oklch */ color: oklch(42.9% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c75bf',
    500: '#3941a3',
    950: '#000000',
  },
}
SCSS
$custom: #3941a3;
$custom-light: #7c75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a3",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 235.472,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.15617,
    "h": 274.2
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#3941A3
secondary
#BDB87A
accent
#CE50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3941A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3941A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva