#3942A3#3942A3

#3942A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.155 H 273.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3942A3
RGBrgb(57, 66, 163)
HSLhsl(235, 48%, 43%)
HSVhsv(235, 65%, 64%)
CMYKcmyk(65%, 59.5%, 0%, 36.1%)
CIE-LABlab(32.72, 27.94, -53.69)
CIE-LCHlch(32.72, 60.53, 297.49°)
OKLaboklab(43.11% 0.0106 -0.1545)
OKLCHoklch(43.11% 0.155 273.9)
XYZxyz(10.2442, 7.4098, 35.5336)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3942A3 #A39A39
analogous
#3977A3 #3942A3 #6539A3
triadic
#3942A3 #A33942 #42A339
tetradic
#3942A3 #A33977 #A39A39 #39A365
square
#3942A3 #A33977 #A39A39 #39A365
split-complementary
#3942A3 #A36539 #77A339
monochromatic
#191D48 #293076 #3942A3 #555FC4 #838AD4

Accessibility & contrast

On white

8.46
#3942A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3942A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3942A3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3942A3#FFFFFF#000000##FFFFFF
##3942A31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3942a3;
/* rgb */ color: rgb(57, 66, 163);
/* oklch */ color: oklch(43.1% 0.155 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c76bf',
    500: '#3942a3',
    950: '#000000',
  },
}
SCSS
$custom: #3942a3;
$custom-light: #7c76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3942a3",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 234.906,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.15488,
    "h": 273.9
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#3942A3
secondary
#BDB87A
accent
#CC50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3942A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3942A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva