#3945D2#3945D2

#3945D2 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.8% C 0.213 H 271.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3945D2
RGBrgb(57, 69, 210)
HSLhsl(235, 63%, 52%)
HSVhsv(235, 73%, 82%)
CMYKcmyk(72.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(37.44, 42.50, -73.66)
CIE-LCHlch(37.44, 85.04, 299.98°)
OKLaboklab(47.8% 0.0058 -0.213)
OKLCHoklch(47.8% 0.213 271.5)
XYZxyz(15.4444, 9.7776, 62.0336)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945D2 #D2C639
analogous
#3992D2 #3945D2 #7939D2
triadic
#3945D2 #D23945 #45D239
tetradic
#3945D2 #D23992 #D2C639 #39D279
square
#3945D2 #D23992 #D2C639 #39D279
split-complementary
#3945D2 #D27939 #92D239
monochromatic
#1B2276 #2630A8 #3945D2 #6B74DD #9DA3E9

Accessibility & contrast

On white

7.10
#3945D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3945D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945D2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945D2#FFFFFF#000000##FFFFFF
##3945D21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3945d2;
/* rgb */ color: rgb(57, 69, 210);
/* oklch */ color: oklch(47.8% 0.213 271.5);
Tailwind
colors: {
  custom: {
    50: '#8579e1',
    500: '#3945d2',
    950: '#000000',
  },
}
SCSS
$custom: #3945d2;
$custom-light: #8579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3945d2",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 235.294,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.21312,
    "h": 271.5
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#3945D2
secondary
#D5CF92
accent
#D942E6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3945D2

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

Preview Lab → · Contrast checker → · Palette generator →

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