#3A76D4#3A76D4

#3A76D4 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.5% C 0.158 H 259.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A76D4
RGBrgb(58, 118, 212)
HSLhsl(217, 64%, 53%)
HSVhsv(217, 73%, 83%)
CMYKcmyk(72.6%, 44.3%, 0%, 16.9%)
CIE-LABlab(50.23, 12.45, -54.05)
CIE-LCHlch(50.23, 55.47, 282.97°)
OKLaboklab(57.47% -0.0297 -0.1548)
OKLCHoklch(57.47% 0.158 259.1)
XYZxyz(20.1027, 18.6077, 64.8068)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A76D4 #D4983A
analogous
#3AC3D4 #3A76D4 #4B3AD4
triadic
#3A76D4 #D43A76 #76D43A
tetradic
#3A76D4 #D43AC3 #D4983A #3AD44B
square
#3A76D4 #D43AC3 #D4983A #3AD44B
split-complementary
#3A76D4 #D44B3A #C3D43A
monochromatic
#1A3F79 #255AAB #3A76D4 #6C99DF #9EBCEA

Accessibility & contrast

On white

4.45
#3A76D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A76D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A76D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A76D4#FFFFFF#000000##000000
##3A76D41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a76d4;
/* rgb */ color: rgb(58, 118, 212);
/* oklch */ color: oklch(57.5% 0.158 259.1);
Tailwind
colors: {
  custom: {
    50: '#839ce2',
    500: '#3a76d4',
    950: '#000000',
  },
}
SCSS
$custom: #3a76d4;
$custom-light: #839ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a76d4",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 212
  },
  "hsl": {
    "h": 216.623,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.1576,
    "h": 259.1
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#3A76D4
secondary
#D6BC94
accent
#A641E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A76D4

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

Preview Lab → · Contrast checker → · Palette generator →

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