#3941A0#3941A0

#3941A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.152 H 274.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3941A0
RGBrgb(57, 65, 160)
HSLhsl(235, 47%, 43%)
HSVhsv(235, 64%, 63%)
CMYKcmyk(64.4%, 59.4%, 0%, 37.3%)
CIE-LABlab(32.23, 27.53, -52.68)
CIE-LCHlch(32.23, 59.44, 297.59°)
OKLaboklab(42.67% 0.0115 -0.1516)
OKLCHoklch(42.67% 0.152 274.3)
XYZxyz(9.9207, 7.1877, 34.1154)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A0 #A09839
analogous
#3974A0 #3941A0 #6539A0
triadic
#3941A0 #A03941 #41A039
tetradic
#3941A0 #A03974 #A09839 #39A065
square
#3941A0 #A03974 #A09839 #39A065
split-complementary
#3941A0 #A06539 #74A039
monochromatic
#191C46 #292F73 #3941A0 #545DC2 #8188D2

Accessibility & contrast

On white

8.61
#3941A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3941A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A0#FFFFFF#000000##FFFFFF
##3941A01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3941a0;
/* rgb */ color: rgb(57, 65, 160);
/* oklch */ color: oklch(42.7% 0.152 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b75bd',
    500: '#3941a0',
    950: '#000000',
  },
}
SCSS
$custom: #3941a0;
$custom-light: #7b75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a0",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 235.34,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.152,
    "h": 274.3
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#3941A0
secondary
#BCB779
accent
#CD51D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3941A0

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

Preview Lab → · Contrast checker → · Palette generator →

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