#3A80E5#3A80E5

#3A80E5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.169 H 258.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3A80E5
RGBrgb(58, 128, 229)
HSLhsl(215, 77%, 56%)
HSVhsv(215, 75%, 90%)
CMYKcmyk(74.7%, 44.1%, 0%, 10.2%)
CIE-LABlab(54.02, 12.47, -57.55)
CIE-LCHlch(54.02, 58.89, 282.22°)
OKLaboklab(60.73% -0.0351 -0.1649)
OKLCHoklch(60.73% 0.169 258)
XYZxyz(23.6018, 21.9923, 77.1146)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A80E5 #E59F3A
analogous
#3AD5E5 #3A80E5 #4A3AE5
triadic
#3A80E5 #E53A80 #80E53A
tetradic
#3A80E5 #E53AD5 #E59F3A #3AE54A
square
#3A80E5 #E53AD5 #E59F3A #3AE54A
split-complementary
#3A80E5 #E54A3A #D5E53A
monochromatic
#134791 #1A61C7 #3A80E5 #70A3EC #A6C6F3

Accessibility & contrast

On white

3.89
#3A80E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#3A80E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A80E5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A80E5#FFFFFF#000000##000000
##3A80E51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AE9
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a80e5;
/* rgb */ color: rgb(58, 128, 229);
/* oklch */ color: oklch(60.7% 0.169 258.0);
Tailwind
colors: {
  custom: {
    50: '#86a4ee',
    500: '#3a80e5',
    950: '#000000',
  },
}
SCSS
$custom: #3a80e5;
$custom-light: #86a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a80e5",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 215.439,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.16858,
    "h": 258
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#3A80E5
secondary
#E1C49A
accent
#A535F3
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3A80E5

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

Preview Lab → · Contrast checker → · Palette generator →

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