#3961AC#3961AC

#3961AC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.128 H 261.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3961AC
RGBrgb(57, 97, 172)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 67%, 67%)
CMYKcmyk(66.9%, 43.6%, 0%, 32.5%)
CIE-LABlab(41.84, 10.96, -44.36)
CIE-LCHlch(41.84, 45.69, 283.88°)
OKLaboklab(50.21% -0.0183 -0.1266)
OKLCHoklch(50.21% 0.128 261.8)
XYZxyz(13.4058, 12.3965, 40.7080)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961AC #AC8439
analogous
#399BAC #3961AC #4A39AC
triadic
#3961AC #AC3961 #61AC39
tetradic
#3961AC #AC399B #AC8439 #39AC4A
square
#3961AC #AC399B #AC8439 #39AC4A
split-complementary
#3961AC #AC4A39 #9BAC39
monochromatic
#1B2D50 #2A477E #3961AC #5A80C8 #88A4D8

Accessibility & contrast

On white

6.04
#3961AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3961AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961AC#FFFFFF#000000##FFFFFF
##3961AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AF
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3961ac;
/* rgb */ color: rgb(57, 97, 172);
/* oklch */ color: oklch(50.2% 0.128 261.8);
Tailwind
colors: {
  custom: {
    50: '#7c8dc5',
    500: '#3961ac',
    950: '#000000',
  },
}
SCSS
$custom: #3961ac;
$custom-light: #7c8dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3961ac",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 219.13,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.12796,
    "h": 261.8
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#3961AC
secondary
#C2AB7F
accent
#A94EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3961AC

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

Preview Lab → · Contrast checker → · Palette generator →

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