#3934A1#3934A1

#3934A1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.170 H 277.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3934A1
RGBrgb(57, 52, 161)
HSLhsl(243, 51%, 42%)
HSVhsv(243, 68%, 63%)
CMYKcmyk(64.6%, 67.7%, 0%, 36.9%)
CIE-LABlab(29.15, 36.15, -58.31)
CIE-LCHlch(29.15, 68.61, 301.80°)
OKLaboklab(40.44% 0.0226 -0.1681)
OKLCHoklch(40.44% 0.17 277.7)
XYZxyz(9.3463, 5.8983, 34.3573)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3934A1 #9CA134
analogous
#3466A1 #3934A1 #7034A1
triadic
#3934A1 #A13934 #34A139
tetradic
#3934A1 #A13466 #9CA134 #34A170
square
#3934A1 #A13466 #9CA134 #34A170
split-complementary
#3934A1 #A17034 #66A134
monochromatic
#181644 #292573 #3934A1 #524DC5 #7F7BD4

Accessibility & contrast

On white

9.63
#3934A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3934A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3934A1
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3934A1#FFFFFF#000000##FFFFFF
##3934A11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3934a1;
/* rgb */ color: rgb(57, 52, 161);
/* oklch */ color: oklch(40.4% 0.170 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c6cbe',
    500: '#3934a1',
    950: '#000000',
  },
}
SCSS
$custom: #3934a1;
$custom-light: #7c6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3934a1",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 242.752,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.16966,
    "h": 277.7
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#3934A1
secondary
#BABD74
accent
#DB4DD4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3934A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3934A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva