#3934A2#3934A2

#3934A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.171 H 277.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3934A2
RGBrgb(57, 52, 162)
HSLhsl(243, 51%, 42%)
HSVhsv(243, 68%, 64%)
CMYKcmyk(64.8%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.24, 36.49, -58.77)
CIE-LCHlch(29.24, 69.17, 301.84°)
OKLaboklab(40.53% 0.0225 -0.1695)
OKLCHoklch(40.53% 0.171 277.6)
XYZxyz(9.4348, 5.9337, 34.8235)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3934A2 #9DA234
analogous
#3466A2 #3934A2 #7034A2
triadic
#3934A2 #A23934 #34A239
tetradic
#3934A2 #A23466 #9DA234 #34A270
square
#3934A2 #A23466 #9DA234 #34A270
split-complementary
#3934A2 #A27034 #66A234
monochromatic
#181645 #292574 #3934A2 #534DC6 #807CD5

Accessibility & contrast

On white

9.60
#3934A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3934A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3934A2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3934A2#FFFFFF#000000##FFFFFF
##3934A21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3934a2;
/* rgb */ color: rgb(57, 52, 162);
/* oklch */ color: oklch(40.5% 0.171 277.6);
Tailwind
colors: {
  custom: {
    50: '#7c6cbf',
    500: '#3934a2',
    950: '#000000',
  },
}
SCSS
$custom: #3934a2;
$custom-light: #7c6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3934a2",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 242.727,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.17098,
    "h": 277.6
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3934A2

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

Preview Lab → · Contrast checker → · Palette generator →

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