#3942DA#3942DA

#3942DA is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.226 H 271.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3942DA
RGBrgb(57, 66, 218)
HSLhsl(237, 69%, 54%)
HSVhsv(237, 74%, 85%)
CMYKcmyk(73.9%, 69.7%, 0%, 14.5%)
CIE-LABlab(37.53, 46.98, -78.12)
CIE-LCHlch(37.53, 91.16, 301.02°)
OKLaboklab(48.09% 0.0065 -0.2261)
OKLCHoklch(48.09% 0.226 271.6)
XYZxyz(16.2862, 9.8265, 67.3545)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3942DA #DAD139
analogous
#3993DA #3942DA #8139DA
triadic
#3942DA #DA3942 #42DA39
tetradic
#3942DA #DA3993 #DAD139 #39DA81
square
#3942DA #DA3993 #DAD139 #39DA81
split-complementary
#3942DA #DA8139 #93DA39
monochromatic
#181E81 #222AB4 #3942DA #6D73E4 #A0A4ED

Accessibility & contrast

On white

7.08
#3942DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3942DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3942DA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3942DA#FFFFFF#000000##FFFFFF
##3942DA1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0051D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3942da;
/* rgb */ color: rgb(57, 66, 218);
/* oklch */ color: oklch(48.1% 0.226 271.6);
Tailwind
colors: {
  custom: {
    50: '#8777e7',
    500: '#3942da',
    950: '#000000',
  },
}
SCSS
$custom: #3942da;
$custom-light: #8777e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3942da",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 236.646,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.22615,
    "h": 271.6
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#3942DA
secondary
#DAD695
accent
#E23CEB
background
#F9F7FE
surface
#F1EDFD
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3942DA

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

Preview Lab → · Contrast checker → · Palette generator →

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