#3945C3#3945C3

#3945C3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.194 H 272.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3945C3
RGBrgb(57, 69, 195)
HSLhsl(235, 55%, 49%)
HSVhsv(235, 71%, 76%)
CMYKcmyk(70.8%, 64.6%, 0%, 23.5%)
CIE-LABlab(36.11, 37.31, -67.14)
CIE-LCHlch(36.11, 76.81, 299.06°)
OKLaboklab(46.43% 0.007 -0.1939)
OKLCHoklch(46.43% 0.194 272.1)
XYZxyz(13.6625, 9.0649, 52.6489)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C3 #C3B739
analogous
#398AC3 #3945C3 #7239C3
triadic
#3945C3 #C33945 #45C339
tetradic
#3945C3 #C3398A #C3B739 #39C372
square
#3945C3 #C3398A #C3B739 #39C372
split-complementary
#3945C3 #C37239 #8AC339
monochromatic
#1D2364 #2B3494 #3945C3 #6770D2 #969DE0

Accessibility & contrast

On white

7.46
#3945C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3945C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C3
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C3#FFFFFF#000000##FFFFFF
##3945C31.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3945c3;
/* rgb */ color: rgb(57, 69, 195);
/* oklch */ color: oklch(46.4% 0.194 272.1);
Tailwind
colors: {
  custom: {
    50: '#8279d6',
    500: '#3945c3',
    950: '#000000',
  },
}
SCSS
$custom: #3945c3;
$custom-light: #8279d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c3",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 234.783,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.19408,
    "h": 272.1
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3945C3

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

Preview Lab → · Contrast checker → · Palette generator →

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