#3945D6#3945D6

#3945D6 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.218 H 271.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3945D6
RGBrgb(57, 69, 214)
HSLhsl(235, 66%, 53%)
HSVhsv(235, 73%, 84%)
CMYKcmyk(73.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(37.81, 43.86, -75.37)
CIE-LCHlch(37.81, 87.20, 300.20°)
OKLaboklab(48.18% 0.0054 -0.218)
OKLCHoklch(48.18% 0.218 271.4)
XYZxyz(15.9489, 9.9795, 64.6910)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945D6 #D6CA39
analogous
#3993D6 #3945D6 #7B39D6
triadic
#3945D6 #D63945 #45D639
tetradic
#3945D6 #D63993 #D6CA39 #39D67B
square
#3945D6 #D63993 #D6CA39 #39D67B
split-complementary
#3945D6 #D67B39 #93D639
monochromatic
#19217B #242FAE #3945D6 #6C75E0 #9EA4EB

Accessibility & contrast

On white

7.01
#3945D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3945D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3945D6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945D6#FFFFFF#000000##FFFFFF
##3945D61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DA
Deuteranopia (green-blind)
#0052D3
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3945d6;
/* rgb */ color: rgb(57, 69, 214);
/* oklch */ color: oklch(48.2% 0.218 271.4);
Tailwind
colors: {
  custom: {
    50: '#8679e4',
    500: '#3945d6',
    950: '#000000',
  },
}
SCSS
$custom: #3945d6;
$custom-light: #8679e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3945d6",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 235.414,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.21809,
    "h": 271.4
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#3945D6
secondary
#D7D294
accent
#DC3FE9
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3945D6

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

Preview Lab → · Contrast checker → · Palette generator →

#3945D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva