#3976F2#3976F2

#3976F2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.197 H 262.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3976F2
RGBrgb(57, 118, 242)
HSLhsl(220, 88%, 59%)
HSVhsv(220, 76%, 95%)
CMYKcmyk(76.4%, 51.2%, 0%, 5.1%)
CIE-LABlab(52.10, 23.31, -67.90)
CIE-LCHlch(52.10, 71.79, 288.95°)
OKLaboklab(59.51% -0.0261 -0.1955)
OKLCHoklch(59.51% 0.197 262.4)
XYZxyz(24.1870, 20.2347, 86.6181)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3976F2 #F2B539
analogous
#39D3F2 #3976F2 #5839F2
triadic
#3976F2 #F23976 #76F239
tetradic
#3976F2 #F239D3 #F2B539 #39F258
square
#3976F2 #F239D3 #F2B539 #39F258
split-complementary
#3976F2 #F25839 #D3F239
monochromatic
#0B3EA6 #0F53DF #3976F2 #729EF6 #ACC5FA

Accessibility & contrast

On white

4.16
#3976F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#3976F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3976F2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3976F2#FFFFFF#000000##000000
##3976F21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3976f2;
/* rgb */ color: rgb(57, 118, 242);
/* oklch */ color: oklch(59.5% 0.197 262.4);
Tailwind
colors: {
  custom: {
    50: '#899cf7',
    500: '#3976f2',
    950: '#000000',
  },
}
SCSS
$custom: #3976f2;
$custom-light: #899cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#3976f2",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 220.216,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.19726,
    "h": 262.4
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#3976F2
secondary
#E8D09F
accent
#B82AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #3976F2

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

Preview Lab → · Contrast checker → · Palette generator →

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