#3945C0#3945C0

#3945C0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.190 H 272.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3945C0
RGBrgb(57, 69, 192)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(70.3%, 64.1%, 0%, 24.7%)
CIE-LABlab(35.85, 36.26, -65.80)
CIE-LCHlch(35.85, 75.13, 298.86°)
OKLaboklab(46.16% 0.0072 -0.19)
OKLCHoklch(46.16% 0.19 272.2)
XYZxyz(13.3267, 8.9306, 50.8804)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C0 #C0B439
analogous
#3989C0 #3945C0 #7139C0
triadic
#3945C0 #C03945 #45C039
tetradic
#3945C0 #C03989 #C0B439 #39C071
square
#3945C0 #C03989 #C0B439 #39C071
split-complementary
#3945C0 #C07139 #89C039
monochromatic
#1D2362 #2B3491 #3945C0 #656FD1 #949BDF

Accessibility & contrast

On white

7.54
#3945C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3945C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C0#FFFFFF#000000##FFFFFF
##3945C01.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3945c0;
/* rgb */ color: rgb(57, 69, 192);
/* oklch */ color: oklch(46.2% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#8179d4',
    500: '#3945c0',
    950: '#000000',
  },
}
SCSS
$custom: #3945c0;
$custom-light: #8179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c0",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 234.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.19019,
    "h": 272.2
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#3945C0
secondary
#CBC58A
accent
#D04ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3945C0

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

Preview Lab → · Contrast checker → · Palette generator →

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