#3962D4#3962D4

#3962D4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.182 H 265.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3962D4
RGBrgb(57, 98, 212)
HSLhsl(224, 64%, 53%)
HSVhsv(224, 73%, 83%)
CMYKcmyk(73.1%, 53.8%, 0%, 16.9%)
CIE-LABlab(44.74, 24.97, -62.90)
CIE-LCHlch(44.74, 67.67, 291.65°)
OKLaboklab(53.27% -0.014 -0.1812)
OKLCHoklch(53.27% 0.182 265.6)
XYZxyz(17.9345, 14.3568, 64.1005)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962D4 #D4AB39
analogous
#39AFD4 #3962D4 #5D39D4
triadic
#3962D4 #D43962 #62D439
tetradic
#3962D4 #D439AF #D4AB39 #39D45D
square
#3962D4 #D439AF #D4AB39 #39D45D
split-complementary
#3962D4 #D45D39 #AFD439
monochromatic
#1A3378 #2548AB #3962D4 #6B8ADF #9EB2EA

Accessibility & contrast

On white

5.42
#3962D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3962D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3962D4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3962D4#FFFFFF#000000##FFFFFF
##3962D41.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3962d4;
/* rgb */ color: rgb(57, 98, 212);
/* oklch */ color: oklch(53.3% 0.182 265.6);
Tailwind
colors: {
  custom: {
    50: '#848ee2',
    500: '#3962d4',
    950: '#000000',
  },
}
SCSS
$custom: #3962d4;
$custom-light: #848ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#3962d4",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 224.129,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53267,
    "c": 0.1817,
    "h": 265.6
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#3962D4
secondary
#D6C493
accent
#BB40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3962D4

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

Preview Lab → · Contrast checker → · Palette generator →

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