#3961B8#3961B8

#3961B8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.145 H 263.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3961B8
RGBrgb(57, 97, 184)
HSLhsl(221, 53%, 47%)
HSVhsv(221, 69%, 72%)
CMYKcmyk(69%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.58, 15.35, -50.21)
CIE-LCHlch(42.58, 52.50, 286.99°)
OKLaboklab(51.02% -0.0163 -0.1438)
OKLCHoklch(51.02% 0.145 263.5)
XYZxyz(14.6107, 12.8785, 47.0539)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961B8 #B89039
analogous
#39A1B8 #3961B8 #5039B8
triadic
#3961B8 #B83961 #61B839
tetradic
#3961B8 #B839A1 #B89039 #39B850
square
#3961B8 #B839A1 #B89039 #39B850
split-complementary
#3961B8 #B85039 #A1B839
monochromatic
#1C305B #2B4889 #3961B8 #6083CE #8FA7DC

Accessibility & contrast

On white

5.87
#3961B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3961B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961B8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961B8#FFFFFF#000000##FFFFFF
##3961B81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#175FB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3961b8;
/* rgb */ color: rgb(57, 97, 184);
/* oklch */ color: oklch(51.0% 0.145 263.5);
Tailwind
colors: {
  custom: {
    50: '#7e8dce',
    500: '#3961b8',
    950: '#000000',
  },
}
SCSS
$custom: #3961b8;
$custom-light: #7e8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3961b8",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 221.102,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.14476,
    "h": 263.5
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#3961B8
secondary
#C7B286
accent
#AF4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3961B8

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

Preview Lab → · Contrast checker → · Palette generator →

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