#3962BF#3962BF

#3962BF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.153 H 263.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3962BF
RGBrgb(57, 98, 191)
HSLhsl(222, 54%, 49%)
HSVhsv(222, 70%, 75%)
CMYKcmyk(70.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(43.31, 17.27, -53.11)
CIE-LCHlch(43.31, 55.85, 288.01°)
OKLaboklab(51.72% -0.0162 -0.1524)
OKLCHoklch(51.72% 0.153 263.9)
XYZxyz(15.4557, 13.3652, 51.0453)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962BF #BF9639
analogous
#39A5BF #3962BF #5339BF
triadic
#3962BF #BF3962 #62BF39
tetradic
#3962BF #BF39A5 #BF9639 #39BF53
square
#3962BF #BF39A5 #BF9639 #39BF53
split-complementary
#3962BF #BF5339 #A5BF39
monochromatic
#1D3261 #2B4A90 #3962BF #6486D1 #93ABDF

Accessibility & contrast

On white

5.72
#3962BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3962BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962BF#FFFFFF#000000##FFFFFF
##3962BF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#0561BD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3962bf;
/* rgb */ color: rgb(57, 98, 191);
/* oklch */ color: oklch(51.7% 0.153 263.9);
Tailwind
colors: {
  custom: {
    50: '#7f8ed3',
    500: '#3962bf',
    950: '#000000',
  },
}
SCSS
$custom: #3962bf;
$custom-light: #7f8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#3962bf",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 221.642,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.15323,
    "h": 263.9
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#3962BF
secondary
#CAB68A
accent
#B04ADD
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3962BF

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

Preview Lab → · Contrast checker → · Palette generator →

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