#3945C2#3945C2

#3945C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.193 H 272.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3945C2
RGBrgb(57, 69, 194)
HSLhsl(235, 55%, 49%)
HSVhsv(235, 71%, 76%)
CMYKcmyk(70.6%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.02, 36.96, -66.69)
CIE-LCHlch(36.02, 76.25, 299.00°)
OKLaboklab(46.34% 0.007 -0.1926)
OKLCHoklch(46.34% 0.193 272.1)
XYZxyz(13.5498, 9.0198, 52.0554)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C2 #C2B639
analogous
#3989C2 #3945C2 #7239C2
triadic
#3945C2 #C23945 #45C239
tetradic
#3945C2 #C23989 #C2B639 #39C272
square
#3945C2 #C23989 #C2B639 #39C272
split-complementary
#3945C2 #C27239 #89C239
monochromatic
#1D2363 #2B3493 #3945C2 #6670D2 #959CE0

Accessibility & contrast

On white

7.49
#3945C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3945C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C2#FFFFFF#000000##FFFFFF
##3945C21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3945c2;
/* rgb */ color: rgb(57, 69, 194);
/* oklch */ color: oklch(46.3% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3945c2',
    950: '#000000',
  },
}
SCSS
$custom: #3945c2;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c2",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 234.745,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.19278,
    "h": 272.1
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#3945C2
secondary
#CBC68B
accent
#D14ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3945C2

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

Preview Lab → · Contrast checker → · Palette generator →

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