#3962BA#3962BA

#3962BA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.146 H 263.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3962BA
RGBrgb(57, 98, 186)
HSLhsl(221, 53%, 48%)
HSVhsv(221, 69%, 73%)
CMYKcmyk(69.4%, 47.3%, 0%, 27.1%)
CIE-LABlab(42.99, 15.44, -50.72)
CIE-LCHlch(42.99, 53.02, 286.93°)
OKLaboklab(51.37% -0.0169 -0.1453)
OKLCHoklch(51.37% 0.146 263.4)
XYZxyz(14.9148, 13.1489, 48.1968)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962BA #BA9139
analogous
#39A2BA #3962BA #5039BA
triadic
#3962BA #BA3962 #62BA39
tetradic
#3962BA #BA39A2 #BA9139 #39BA50
square
#3962BA #BA39A2 #BA9139 #39BA50
split-complementary
#3962BA #BA5039 #A2BA39
monochromatic
#1C315C #2B498B #3962BA #6184CF #90A9DD

Accessibility & contrast

On white

5.79
#3962BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3962BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962BA#FFFFFF#000000##FFFFFF
##3962BA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#1660B8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3962ba;
/* rgb */ color: rgb(57, 98, 186);
/* oklch */ color: oklch(51.4% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#7e8ecf',
    500: '#3962ba',
    950: '#000000',
  },
}
SCSS
$custom: #3962ba;
$custom-light: #7e8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3962ba",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 220.93,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.14631,
    "h": 263.4
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#3962BA
secondary
#C8B387
accent
#AE4BDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3962BA

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

Preview Lab → · Contrast checker → · Palette generator →

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