#3951C1#3951C1

#3951C1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.177 H 269.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3951C1
RGBrgb(57, 81, 193)
HSLhsl(229, 54%, 49%)
HSVhsv(229, 70%, 76%)
CMYKcmyk(70.5%, 58%, 0%, 24.3%)
CIE-LABlab(38.90, 28.98, -61.40)
CIE-LCHlch(38.90, 67.90, 295.26°)
OKLaboklab(48.44% -0.0017 -0.177)
OKLCHoklch(48.44% 0.177 269.4)
XYZxyz(14.2521, 10.6035, 51.7373)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951C1 #C1A939
analogous
#3995C1 #3951C1 #6539C1
triadic
#3951C1 #C13951 #51C139
tetradic
#3951C1 #C13995 #C1A939 #39C165
square
#3951C1 #C13995 #C1A939 #39C165
split-complementary
#3951C1 #C16539 #95C139
monochromatic
#1D2963 #2B3D92 #3951C1 #6679D2 #95A2E0

Accessibility & contrast

On white

6.73
#3951C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3951C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951C1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951C1#FFFFFF#000000##FFFFFF
##3951C11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3951c1;
/* rgb */ color: rgb(57, 81, 193);
/* oklch */ color: oklch(48.4% 0.177 269.4);
Tailwind
colors: {
  custom: {
    50: '#8181d5',
    500: '#3951c1',
    950: '#000000',
  },
}
SCSS
$custom: #3951c1;
$custom-light: #8181d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3951c1",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 229.412,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.17702,
    "h": 269.4
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3951C1

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

Preview Lab → · Contrast checker → · Palette generator →

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