#3A76D5#3A76D5

#3A76D5 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.5% C 0.159 H 259.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A76D5
RGBrgb(58, 118, 213)
HSLhsl(217, 65%, 53%)
HSVhsv(217, 73%, 84%)
CMYKcmyk(72.8%, 44.6%, 0%, 16.5%)
CIE-LABlab(50.28, 12.82, -54.53)
CIE-LCHlch(50.28, 56.01, 283.23°)
OKLaboklab(57.54% -0.0295 -0.1562)
OKLCHoklch(57.54% 0.159 259.3)
XYZxyz(20.2292, 18.6583, 65.4732)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A76D5 #D5993A
analogous
#3AC4D5 #3A76D5 #4B3AD5
triadic
#3A76D5 #D53A76 #76D53A
tetradic
#3A76D5 #D53AC4 #D5993A #3AD54B
square
#3A76D5 #D53AC4 #D5993A #3AD54B
split-complementary
#3A76D5 #D54B3A #C4D53A
monochromatic
#1A3F7A #255AAD #3A76D5 #6C99E0 #9FBCEB

Accessibility & contrast

On white

4.44
#3A76D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3A76D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A76D5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A76D5#FFFFFF#000000##000000
##3A76D51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD9
Deuteranopia (green-blind)
#2671D3
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a76d5;
/* rgb */ color: rgb(58, 118, 213);
/* oklch */ color: oklch(57.5% 0.159 259.3);
Tailwind
colors: {
  custom: {
    50: '#839ce2',
    500: '#3a76d5',
    950: '#000000',
  },
}
SCSS
$custom: #3a76d5;
$custom-light: #839ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a76d5",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 213
  },
  "hsl": {
    "h": 216.774,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.15893,
    "h": 259.3
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#3A76D5
secondary
#D7BD94
accent
#A740E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A76D5

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

Preview Lab → · Contrast checker → · Palette generator →

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