#3A76D9#3A76D9

#3A76D9 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.164 H 259.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A76D9
RGBrgb(58, 118, 217)
HSLhsl(217, 68%, 54%)
HSVhsv(217, 73%, 85%)
CMYKcmyk(73.3%, 45.6%, 0%, 14.9%)
CIE-LABlab(50.53, 14.28, -56.40)
CIE-LCHlch(50.53, 58.18, 284.21°)
OKLaboklab(57.8% -0.0288 -0.1617)
OKLCHoklch(57.8% 0.164 259.9)
XYZxyz(20.7432, 18.8639, 68.1801)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A76D9 #D99D3A
analogous
#3AC6D9 #3A76D9 #4D3AD9
triadic
#3A76D9 #D93A76 #76D93A
tetradic
#3A76D9 #D93AC6 #D99D3A #3AD94D
square
#3A76D9 #D93AC6 #D99D3A #3AD94D
split-complementary
#3A76D9 #D94D3A #C6D93A
monochromatic
#194080 #2359B3 #3A76D9 #6D9AE3 #A1BDED

Accessibility & contrast

On white

4.40
#3A76D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A76D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A76D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A76D9#FFFFFF#000000##000000
##3A76D91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DD
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a76d9;
/* rgb */ color: rgb(58, 118, 217);
/* oklch */ color: oklch(57.8% 0.164 259.9);
Tailwind
colors: {
  custom: {
    50: '#849ce5',
    500: '#3a76d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a76d9;
$custom-light: #849ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a76d9",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 217
  },
  "hsl": {
    "h": 217.358,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.578,
    "c": 0.16424,
    "h": 259.9
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#3A76D9
secondary
#D9C095
accent
#A93DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3A76D9

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

Preview Lab → · Contrast checker → · Palette generator →

#3A76D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva