#3943A4#3943A4

#3943A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.155 H 273.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3943A4
RGBrgb(57, 67, 164)
HSLhsl(234, 48%, 43%)
HSVhsv(234, 65%, 64%)
CMYKcmyk(65.2%, 59.1%, 0%, 35.7%)
CIE-LABlab(33.06, 27.64, -53.75)
CIE-LCHlch(33.06, 60.44, 297.22°)
OKLaboklab(43.38% 0.0097 -0.1547)
OKLCHoklch(43.38% 0.155 273.6)
XYZxyz(10.3931, 7.5636, 36.0270)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943A4 #A49A39
analogous
#3978A4 #3943A4 #6539A4
triadic
#3943A4 #A43943 #43A439
tetradic
#3943A4 #A43978 #A49A39 #39A465
square
#3943A4 #A43978 #A49A39 #39A465
split-complementary
#3943A4 #A46539 #78A439
monochromatic
#191E49 #293077 #3943A4 #5660C4 #838BD4

Accessibility & contrast

On white

8.36
#3943A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3943A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943A4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943A4#FFFFFF#000000##FFFFFF
##3943A41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3943a4;
/* rgb */ color: rgb(57, 67, 164);
/* oklch */ color: oklch(43.4% 0.155 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c77c0',
    500: '#3943a4',
    950: '#000000',
  },
}
SCSS
$custom: #3943a4;
$custom-light: #7c77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3943a4",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 234.393,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.15498,
    "h": 273.6
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#3943A4
secondary
#BEB87B
accent
#CB50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3943A4

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

Preview Lab → · Contrast checker → · Palette generator →

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