#3A76E3#3A76E3

#3A76E3 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.177 H 261.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A76E3
RGBrgb(58, 118, 227)
HSLhsl(219, 75%, 56%)
HSVhsv(219, 74%, 89%)
CMYKcmyk(74.4%, 48%, 0%, 11%)
CIE-LABlab(51.15, 17.93, -61.04)
CIE-LCHlch(51.15, 63.62, 286.37°)
OKLaboklab(58.48% -0.0273 -0.1753)
OKLCHoklch(58.48% 0.177 261.2)
XYZxyz(22.0835, 19.4000, 75.2389)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A76E3 #E3A73A
analogous
#3ACBE3 #3A76E3 #523AE3
triadic
#3A76E3 #E33A76 #76E33A
tetradic
#3A76E3 #E33ACB #E3A73A #3AE352
square
#3A76E3 #E33ACB #E3A73A #3AE352
split-complementary
#3A76E3 #E3523A #CBE33A
monochromatic
#14408E #1C58C4 #3A76E3 #709BEB #A5C1F2

Accessibility & contrast

On white

4.30
#3A76E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3A76E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A76E3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A76E3#FFFFFF#000000##000000
##3A76E31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E7
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a76e3;
/* rgb */ color: rgb(58, 118, 227);
/* oklch */ color: oklch(58.5% 0.177 261.2);
Tailwind
colors: {
  custom: {
    50: '#869cec',
    500: '#3a76e3',
    950: '#000000',
  },
}
SCSS
$custom: #3a76e3;
$custom-light: #869cec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a76e3",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 227
  },
  "hsl": {
    "h": 218.698,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5848,
    "c": 0.17744,
    "h": 261.2
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#3A76E3
secondary
#DFC799
accent
#AF36F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A76E3

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

Preview Lab → · Contrast checker → · Palette generator →

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