#3960B8#3960B8

#3960B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.146 H 264.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3960B8
RGBrgb(57, 96, 184)
HSLhsl(222, 53%, 47%)
HSVhsv(222, 69%, 72%)
CMYKcmyk(69%, 47.8%, 0%, 27.8%)
CIE-LABlab(42.30, 15.99, -50.66)
CIE-LCHlch(42.30, 53.12, 287.52°)
OKLaboklab(50.81% -0.0153 -0.1452)
OKLCHoklch(50.81% 0.146 264)
XYZxyz(14.5189, 12.6948, 47.0233)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960B8 #B89139
analogous
#399FB8 #3960B8 #5239B8
triadic
#3960B8 #B83960 #60B839
tetradic
#3960B8 #B8399F #B89139 #39B852
square
#3960B8 #B8399F #B89139 #39B852
split-complementary
#3960B8 #B85239 #9FB839
monochromatic
#1C2F5B #2B4889 #3960B8 #6082CE #8FA7DC

Accessibility & contrast

On white

5.93
#3960B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3960B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960B8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960B8#FFFFFF#000000##FFFFFF
##3960B81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3960b8;
/* rgb */ color: rgb(57, 96, 184);
/* oklch */ color: oklch(50.8% 0.146 264.0);
Tailwind
colors: {
  custom: {
    50: '#7e8cce',
    500: '#3960b8',
    950: '#000000',
  },
}
SCSS
$custom: #3960b8;
$custom-light: #7e8cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3960b8",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 221.575,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.14599,
    "h": 264
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#3960B8
secondary
#C7B386
accent
#B04CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3960B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3960B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva