#3976DA#3976DA

#3976DA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.166 H 259.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3976DA
RGBrgb(57, 118, 218)
HSLhsl(217, 69%, 54%)
HSVhsv(217, 74%, 85%)
CMYKcmyk(73.9%, 45.9%, 0%, 14.5%)
CIE-LABlab(50.55, 14.52, -56.93)
CIE-LCHlch(50.55, 58.75, 284.30°)
OKLaboklab(57.83% -0.0293 -0.1632)
OKLCHoklch(57.83% 0.166 259.8)
XYZxyz(20.8161, 18.8864, 68.8644)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3976DA #DA9D39
analogous
#39C7DA #3976DA #4D39DA
triadic
#3976DA #DA3976 #76DA39
tetradic
#3976DA #DA39C7 #DA9D39 #39DA4D
square
#3976DA #DA39C7 #DA9D39 #39DA4D
split-complementary
#3976DA #DA4D39 #C7DA39
monochromatic
#184081 #2259B4 #3976DA #6D9AE4 #A0BDED

Accessibility & contrast

On white

4.40
#3976DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3976DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3976DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3976DA#FFFFFF#000000##000000
##3976DA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3976da;
/* rgb */ color: rgb(57, 118, 218);
/* oklch */ color: oklch(57.8% 0.166 259.8);
Tailwind
colors: {
  custom: {
    50: '#849ce6',
    500: '#3976da',
    950: '#000000',
  },
}
SCSS
$custom: #3976da;
$custom-light: #849ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3976da",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 217.267,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.16586,
    "h": 259.8
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#3976DA
secondary
#DAC095
accent
#A93CEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3976DA

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

Preview Lab → · Contrast checker → · Palette generator →

#3976DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva