#3962AA#3962AA

#3962AA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.124 H 260.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3962AA
RGBrgb(57, 98, 170)
HSLhsl(218, 50%, 45%)
HSVhsv(218, 66%, 67%)
CMYKcmyk(66.5%, 42.4%, 0%, 33.3%)
CIE-LABlab(42.01, 9.59, -42.91)
CIE-LCHlch(42.01, 43.97, 282.60°)
OKLaboklab(50.31% -0.0197 -0.1224)
OKLCHoklch(50.31% 0.124 260.8)
XYZxyz(13.3082, 12.5062, 39.7350)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962AA #AA8139
analogous
#399BAA #3962AA #4839AA
triadic
#3962AA #AA3962 #62AA39
tetradic
#3962AA #AA399B #AA8139 #39AA48
square
#3962AA #AA399B #AA8139 #39AA48
split-complementary
#3962AA #AA4839 #9BAA39
monochromatic
#1A2D4E #2A487C #3962AA #5981C7 #87A4D7

Accessibility & contrast

On white

6.00
#3962AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3962AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962AA#FFFFFF#000000##FFFFFF
##3962AA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3962aa;
/* rgb */ color: rgb(57, 98, 170);
/* oklch */ color: oklch(50.3% 0.124 260.8);
Tailwind
colors: {
  custom: {
    50: '#7b8ec4',
    500: '#3962aa',
    950: '#000000',
  },
}
SCSS
$custom: #3962aa;
$custom-light: #7b8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3962aa",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 218.23,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.12394,
    "h": 260.8
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#3962AA
secondary
#C1A97E
accent
#A74ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3962AA

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

Preview Lab → · Contrast checker → · Palette generator →

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