#3961C7#3961C7

#3961C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.165 H 265.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3961C7
RGBrgb(57, 97, 199)
HSLhsl(223, 56%, 50%)
HSVhsv(223, 71%, 78%)
CMYKcmyk(71.4%, 51.3%, 0%, 22%)
CIE-LABlab(43.57, 20.85, -57.33)
CIE-LCHlch(43.57, 61.00, 289.99°)
OKLaboklab(52.09% -0.0143 -0.1648)
OKLCHoklch(52.09% 0.165 265)
XYZxyz(16.2672, 13.5411, 55.7781)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961C7 #C79F39
analogous
#39A8C7 #3961C7 #5839C7
triadic
#3961C7 #C73961 #61C739
tetradic
#3961C7 #C739A8 #C79F39 #39C758
square
#3961C7 #C739A8 #C79F39 #39C758
split-complementary
#3961C7 #C75839 #A8C739
monochromatic
#1D3268 #2B4A98 #3961C7 #6987D4 #98ADE2

Accessibility & contrast

On white

5.66
#3961C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3961C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961C7#FFFFFF#000000##FFFFFF
##3961C71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3961c7;
/* rgb */ color: rgb(57, 97, 199);
/* oklch */ color: oklch(52.1% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#818dd9',
    500: '#3961c7',
    950: '#000000',
  },
}
SCSS
$custom: #3961c7;
$custom-light: #818dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3961c7",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 223.099,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.1654,
    "h": 265
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#3961C7
secondary
#CEBC8E
accent
#B549DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3961C7

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

Preview Lab → · Contrast checker → · Palette generator →

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