#3951DA#3951DA

#3951DA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.6% C 0.210 H 269.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3951DA
RGBrgb(57, 81, 218)
HSLhsl(231, 69%, 54%)
HSVhsv(231, 74%, 85%)
CMYKcmyk(73.9%, 62.8%, 0%, 14.5%)
CIE-LABlab(40.92, 37.91, -72.55)
CIE-LCHlch(40.92, 81.86, 297.59°)
OKLaboklab(50.56% -0.002 -0.2097)
OKLCHoklch(50.56% 0.21 269.5)
XYZxyz(17.2803, 11.8148, 67.6858)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951DA #DAC239
analogous
#39A2DA #3951DA #7239DA
triadic
#3951DA #DA3951 #51DA39
tetradic
#3951DA #DA39A2 #DAC239 #39DA72
square
#3951DA #DA39A2 #DAC239 #39DA72
split-complementary
#3951DA #DA7239 #A2DA39
monochromatic
#182881 #2237B4 #3951DA #6D7EE4 #A0ACED

Accessibility & contrast

On white

6.24
#3951DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3951DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951DA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951DA#FFFFFF#000000##FFFFFF
##3951DA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0059D7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3951da;
/* rgb */ color: rgb(57, 81, 218);
/* oklch */ color: oklch(50.6% 0.210 269.5);
Tailwind
colors: {
  custom: {
    50: '#8681e7',
    500: '#3951da',
    950: '#000000',
  },
}
SCSS
$custom: #3951da;
$custom-light: #8681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3951da",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 231.056,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.20974,
    "h": 269.5
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#3951DA
secondary
#DAD095
accent
#D13CEB
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3951DA

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

Preview Lab → · Contrast checker → · Palette generator →

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