#3961D4#3961D4

#3961D4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.183 H 265.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3961D4
RGBrgb(57, 97, 212)
HSLhsl(225, 64%, 53%)
HSVhsv(225, 73%, 83%)
CMYKcmyk(73.1%, 54.2%, 0%, 16.9%)
CIE-LABlab(44.48, 25.61, -63.32)
CIE-LCHlch(44.48, 68.31, 292.02°)
OKLaboklab(53.07% -0.0132 -0.1824)
OKLCHoklch(53.07% 0.183 265.9)
XYZxyz(17.8415, 14.1708, 64.0695)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961D4 #D4AC39
analogous
#39AED4 #3961D4 #5E39D4
triadic
#3961D4 #D43961 #61D439
tetradic
#3961D4 #D439AE #D4AC39 #39D45E
square
#3961D4 #D439AE #D4AC39 #39D45E
split-complementary
#3961D4 #D45E39 #AED439
monochromatic
#1A3278 #2548AB #3961D4 #6B89DF #9EB1EA

Accessibility & contrast

On white

5.48
#3961D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3961D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961D4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961D4#FFFFFF#000000##FFFFFF
##3961D41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3961d4;
/* rgb */ color: rgb(57, 97, 212);
/* oklch */ color: oklch(53.1% 0.183 265.9);
Tailwind
colors: {
  custom: {
    50: '#848de2',
    500: '#3961d4',
    950: '#000000',
  },
}
SCSS
$custom: #3961d4;
$custom-light: #848de2;
$custom-dark: #000000;
JSON
{
  "hex": "#3961d4",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 224.516,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.18291,
    "h": 265.9
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#3961D4
secondary
#D6C593
accent
#BC40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3961D4

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

Preview Lab → · Contrast checker → · Palette generator →

#3961D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva