#3961B2#3961B2

#3961B2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.136 H 262.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3961B2
RGBrgb(57, 97, 178)
HSLhsl(220, 51%, 46%)
HSVhsv(220, 68%, 70%)
CMYKcmyk(68%, 45.5%, 0%, 30.2%)
CIE-LABlab(42.20, 13.15, -47.30)
CIE-LCHlch(42.20, 49.09, 285.54°)
OKLaboklab(50.61% -0.0173 -0.1353)
OKLCHoklch(50.61% 0.136 262.7)
XYZxyz(13.9951, 12.6322, 43.8116)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961B2 #B28A39
analogous
#399DB2 #3961B2 #4D39B2
triadic
#3961B2 #B23961 #61B239
tetradic
#3961B2 #B2399D #B28A39 #39B24D
square
#3961B2 #B2399D #B28A39 #39B24D
split-complementary
#3961B2 #B24D39 #9DB239
monochromatic
#1B2E55 #2A4884 #3961B2 #5D81CB #8BA5DA

Accessibility & contrast

On white

5.95
#3961B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3961B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961B2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961B2#FFFFFF#000000##FFFFFF
##3961B21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3961b2;
/* rgb */ color: rgb(57, 97, 178);
/* oklch */ color: oklch(50.6% 0.136 262.7);
Tailwind
colors: {
  custom: {
    50: '#7d8dc9',
    500: '#3961b2',
    950: '#000000',
  },
}
SCSS
$custom: #3961b2;
$custom-light: #7d8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3961b2",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 220.165,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.13639,
    "h": 262.7
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#3961B2
secondary
#C4AF82
accent
#AC4DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3961B2

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

Preview Lab → · Contrast checker → · Palette generator →

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