#3951C3#3951C3

#3951C3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.180 H 269.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3951C3
RGBrgb(57, 81, 195)
HSLhsl(230, 55%, 49%)
HSVhsv(230, 71%, 76%)
CMYKcmyk(70.8%, 58.5%, 0%, 23.5%)
CIE-LABlab(39.06, 29.70, -62.32)
CIE-LCHlch(39.06, 69.03, 295.48°)
OKLaboklab(48.61% -0.0017 -0.1797)
OKLCHoklch(48.61% 0.18 269.5)
XYZxyz(14.4767, 10.6934, 52.9203)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951C3 #C3AB39
analogous
#3996C3 #3951C3 #6639C3
triadic
#3951C3 #C33951 #51C339
tetradic
#3951C3 #C33996 #C3AB39 #39C366
square
#3951C3 #C33996 #C3AB39 #39C366
split-complementary
#3951C3 #C36639 #96C339
monochromatic
#1D2A64 #2B3D94 #3951C3 #6779D2 #96A3E0

Accessibility & contrast

On white

6.69
#3951C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3951C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951C3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951C3#FFFFFF#000000##FFFFFF
##3951C31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3951c3;
/* rgb */ color: rgb(57, 81, 195);
/* oklch */ color: oklch(48.6% 0.180 269.5);
Tailwind
colors: {
  custom: {
    50: '#8181d6',
    500: '#3951c3',
    950: '#000000',
  },
}
SCSS
$custom: #3951c3;
$custom-light: #8181d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3951c3",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 229.565,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.17971,
    "h": 269.5
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#3951C3
secondary
#CCC18C
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3951C3

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

Preview Lab → · Contrast checker → · Palette generator →

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