#3962B7#3962B7

#3962B7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.142 H 263.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3962B7
RGBrgb(57, 98, 183)
HSLhsl(220, 53%, 47%)
HSVhsv(220, 69%, 72%)
CMYKcmyk(68.9%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.80, 14.34, -49.28)
CIE-LCHlch(42.80, 51.32, 286.22°)
OKLaboklab(51.17% -0.0174 -0.1411)
OKLCHoklch(51.17% 0.142 263)
XYZxyz(14.5992, 13.0227, 46.5348)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962B7 #B78E39
analogous
#39A1B7 #3962B7 #4F39B7
triadic
#3962B7 #B73962 #62B739
tetradic
#3962B7 #B739A1 #B78E39 #39B74F
square
#3962B7 #B739A1 #B78E39 #39B74F
split-complementary
#3962B7 #B74F39 #A1B739
monochromatic
#1C305A #2A4988 #3962B7 #6083CD #8EA8DC

Accessibility & contrast

On white

5.83
#3962B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3962B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962B7#FFFFFF#000000##FFFFFF
##3962B71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3962b7;
/* rgb */ color: rgb(57, 98, 183);
/* oklch */ color: oklch(51.2% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#7e8ecd',
    500: '#3962b7',
    950: '#000000',
  },
}
SCSS
$custom: #3962b7;
$custom-light: #7e8ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3962b7",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 220.476,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.14215,
    "h": 263
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#3962B7
secondary
#C7B185
accent
#AD4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3962B7

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

Preview Lab → · Contrast checker → · Palette generator →

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