#3962AC#3962AC

#3962AC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.127 H 261.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3962AC
RGBrgb(57, 98, 172)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 67%, 67%)
CMYKcmyk(66.9%, 43%, 0%, 32.5%)
CIE-LABlab(42.13, 10.32, -43.90)
CIE-LCHlch(42.13, 45.09, 283.23°)
OKLaboklab(50.44% -0.0193 -0.1253)
OKLCHoklch(50.44% 0.127 261.2)
XYZxyz(13.4988, 12.5825, 40.7390)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962AC #AC8339
analogous
#399BAC #3962AC #4A39AC
triadic
#3962AC #AC3962 #62AC39
tetradic
#3962AC #AC399B #AC8339 #39AC4A
square
#3962AC #AC399B #AC8339 #39AC4A
split-complementary
#3962AC #AC4A39 #9BAC39
monochromatic
#1B2E50 #2A487E #3962AC #5A81C8 #88A4D8

Accessibility & contrast

On white

5.97
#3962AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3962AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962AC#FFFFFF#000000##FFFFFF
##3962AC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3962ac;
/* rgb */ color: rgb(57, 98, 172);
/* oklch */ color: oklch(50.4% 0.127 261.2);
Tailwind
colors: {
  custom: {
    50: '#7c8ec5',
    500: '#3962ac',
    950: '#000000',
  },
}
SCSS
$custom: #3962ac;
$custom-light: #7c8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3962ac",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 218.609,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.12676,
    "h": 261.2
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#3962AC
secondary
#C2AA7F
accent
#A84EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3962AC

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

Preview Lab → · Contrast checker → · Palette generator →

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