#3945C6#3945C6

#3945C6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.198 H 272.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3945C6
RGBrgb(57, 69, 198)
HSLhsl(235, 55%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(71.2%, 65.2%, 0%, 22.4%)
CIE-LABlab(36.37, 38.36, -68.46)
CIE-LCHlch(36.37, 78.47, 299.26°)
OKLaboklab(46.7% 0.0068 -0.1978)
OKLCHoklch(46.7% 0.198 272)
XYZxyz(14.0051, 9.2019, 54.4532)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C6 #C6BA39
analogous
#398BC6 #3945C6 #7439C6
triadic
#3945C6 #C63945 #45C639
tetradic
#3945C6 #C6398B #C6BA39 #39C674
square
#3945C6 #C6398B #C6BA39 #39C674
split-complementary
#3945C6 #C67439 #8BC639
monochromatic
#1E2467 #2B3496 #3945C6 #6972D4 #989EE1

Accessibility & contrast

On white

7.39
#3945C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3945C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C6#FFFFFF#000000##FFFFFF
##3945C61.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3945c6;
/* rgb */ color: rgb(57, 69, 198);
/* oklch */ color: oklch(46.7% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#8379d8',
    500: '#3945c6',
    950: '#000000',
  },
}
SCSS
$custom: #3945c6;
$custom-light: #8379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c6",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 234.894,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.19794,
    "h": 272
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#3945C6
secondary
#CDC88E
accent
#D249DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3945C6

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

Preview Lab → · Contrast checker → · Palette generator →

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