#3945C4#3945C4

#3945C4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.195 H 272.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3945C4
RGBrgb(57, 69, 196)
HSLhsl(235, 55%, 50%)
HSVhsv(235, 71%, 77%)
CMYKcmyk(70.9%, 64.8%, 0%, 23.1%)
CIE-LABlab(36.20, 37.66, -67.58)
CIE-LCHlch(36.20, 77.36, 299.13°)
OKLaboklab(46.52% 0.0069 -0.1952)
OKLCHoklch(46.52% 0.195 272)
XYZxyz(13.7759, 9.1103, 53.2463)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C4 #C4B839
analogous
#398BC4 #3945C4 #7239C4
triadic
#3945C4 #C43945 #45C439
tetradic
#3945C4 #C4398B #C4B839 #39C472
square
#3945C4 #C4398B #C4B839 #39C472
split-complementary
#3945C4 #C47239 #8BC439
monochromatic
#1D2465 #2B3495 #3945C4 #6771D3 #979DE1

Accessibility & contrast

On white

7.44
#3945C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3945C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C4#FFFFFF#000000##FFFFFF
##3945C41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3945c4;
/* rgb */ color: rgb(57, 69, 196);
/* oklch */ color: oklch(46.5% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#8279d7',
    500: '#3945c4',
    950: '#000000',
  },
}
SCSS
$custom: #3945c4;
$custom-light: #8279d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c4",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 234.82,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.19536,
    "h": 272
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3945C4

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

Preview Lab → · Contrast checker → · Palette generator →

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