#3962AB#3962AB

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

Color values

HEX#3962AB
RGBrgb(57, 98, 171)
HSLhsl(218, 50%, 45%)
HSVhsv(218, 67%, 67%)
CMYKcmyk(66.7%, 42.7%, 0%, 32.9%)
CIE-LABlab(42.07, 9.96, -43.40)
CIE-LCHlch(42.07, 44.53, 282.92°)
OKLaboklab(50.37% -0.0195 -0.1238)
OKLCHoklch(50.37% 0.125 261)
XYZxyz(13.4031, 12.5442, 40.2351)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962AB #AB8239
analogous
#399BAB #3962AB #4939AB
triadic
#3962AB #AB3962 #62AB39
tetradic
#3962AB #AB399B #AB8239 #39AB49
square
#3962AB #AB399B #AB8239 #39AB49
split-complementary
#3962AB #AB4939 #9BAB39
monochromatic
#1A2D4F #2A487D #3962AB #5981C8 #87A4D7

Accessibility & contrast

On white

5.98
#3962AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3962AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3962AB#FFFFFF#000000##FFFFFF
##3962AB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3962ab;
/* rgb */ color: rgb(57, 98, 171);
/* oklch */ color: oklch(50.4% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#7c8ec4',
    500: '#3962ab',
    950: '#000000',
  },
}
SCSS
$custom: #3962ab;
$custom-light: #7c8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3962ab",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 218.421,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.12535,
    "h": 261
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#3962AB
secondary
#C1A97F
accent
#A74EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3962AB

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

Preview Lab → · Contrast checker → · Palette generator →

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