#3934A4#3934A4

#3934A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.174 H 277.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3934A4
RGBrgb(57, 52, 164)
HSLhsl(243, 52%, 42%)
HSVhsv(243, 68%, 64%)
CMYKcmyk(65.2%, 68.3%, 0%, 35.7%)
CIE-LABlab(29.43, 37.16, -59.68)
CIE-LCHlch(29.43, 70.30, 301.91°)
OKLaboklab(40.72% 0.0222 -0.1722)
OKLCHoklch(40.72% 0.174 277.4)
XYZxyz(9.6140, 6.0054, 35.7673)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3934A4 #9FA434
analogous
#3467A4 #3934A4 #7134A4
triadic
#3934A4 #A43934 #34A439
tetradic
#3934A4 #A43467 #9FA434 #34A471
square
#3934A4 #A43467 #9FA434 #34A471
split-complementary
#3934A4 #A47134 #67A434
monochromatic
#191747 #292576 #3934A4 #544EC7 #817DD6

Accessibility & contrast

On white

9.54
#3934A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3934A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3934A4
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3934A4#FFFFFF#000000##FFFFFF
##3934A41.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3934a4;
/* rgb */ color: rgb(57, 52, 164);
/* oklch */ color: oklch(40.7% 0.174 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d6cc0',
    500: '#3934a4',
    950: '#000000',
  },
}
SCSS
$custom: #3934a4;
$custom-light: #7d6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3934a4",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 242.679,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.17359,
    "h": 277.4
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#3934A4
secondary
#BBBF75
accent
#DB4CD5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3934A4

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

Preview Lab → · Contrast checker → · Palette generator →

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