#3941A2#3941A2

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

Color values

HEX#3941A2
RGBrgb(57, 65, 162)
HSLhsl(235, 48%, 43%)
HSVhsv(235, 65%, 64%)
CMYKcmyk(64.8%, 59.9%, 0%, 36.5%)
CIE-LABlab(32.39, 28.24, -53.63)
CIE-LCHlch(32.39, 60.61, 297.77°)
OKLaboklab(42.84% 0.0115 -0.1544)
OKLCHoklch(42.84% 0.155 274.2)
XYZxyz(10.0971, 7.2582, 35.0443)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A2 #A29A39
analogous
#3975A2 #3941A2 #6639A2
triadic
#3941A2 #A23941 #41A239
tetradic
#3941A2 #A23975 #A29A39 #39A266
square
#3941A2 #A23975 #A29A39 #39A266
split-complementary
#3941A2 #A26639 #75A239
monochromatic
#191D47 #292F75 #3941A2 #555DC3 #8288D3

Accessibility & contrast

On white

8.57
#3941A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3941A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A2#FFFFFF#000000##FFFFFF
##3941A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3941a2;
/* rgb */ color: rgb(57, 65, 162);
/* oklch */ color: oklch(42.8% 0.155 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b75be',
    500: '#3941a2',
    950: '#000000',
  },
}
SCSS
$custom: #3941a2;
$custom-light: #7b75be;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a2",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 235.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.15479,
    "h": 274.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941A2

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

Preview Lab → · Contrast checker → · Palette generator →

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