#3976CC#3976CC

#3976CC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.147 H 257.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3976CC
RGBrgb(57, 118, 204)
HSLhsl(215, 59%, 51%)
HSVhsv(215, 72%, 80%)
CMYKcmyk(72.1%, 42.2%, 0%, 20%)
CIE-LABlab(49.72, 9.39, -50.31)
CIE-LCHlch(49.72, 51.18, 280.58°)
OKLaboklab(56.92% -0.0319 -0.1438)
OKLCHoklch(56.92% 0.147 257.5)
XYZxyz(19.0609, 18.1843, 59.6204)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3976CC #CC8F39
analogous
#39BFCC #3976CC #4539CC
triadic
#3976CC #CC3976 #76CC39
tetradic
#3976CC #CC39BF #CC8F39 #39CC45
square
#3976CC #CC39BF #CC8F39 #39CC45
split-complementary
#3976CC #CC4539 #BFCC39
monochromatic
#1C3E6E #295A9F #3976CC #6A98D9 #9AB9E5

Accessibility & contrast

On white

4.53
#3976CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#3976CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3976CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3976CC#FFFFFF#000000##000000
##3976CC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ECF
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3976cc;
/* rgb */ color: rgb(57, 118, 204);
/* oklch */ color: oklch(56.9% 0.147 257.5);
Tailwind
colors: {
  custom: {
    50: '#819cdc',
    500: '#3976cc',
    950: '#000000',
  },
}
SCSS
$custom: #3976cc;
$custom-light: #819cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3976cc",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 215.102,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.1473,
    "h": 257.5
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#3976CC
secondary
#D1B690
accent
#A146E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3976CC

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

Preview Lab → · Contrast checker → · Palette generator →

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