#3A80E2#3A80E2

#3A80E2 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.165 H 257.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3A80E2
RGBrgb(58, 128, 226)
HSLhsl(215, 74%, 56%)
HSVhsv(215, 74%, 89%)
CMYKcmyk(74.3%, 43.4%, 0%, 11.4%)
CIE-LABlab(53.84, 11.37, -56.16)
CIE-LCHlch(53.84, 57.30, 281.45°)
OKLaboklab(60.53% -0.0356 -0.1608)
OKLCHoklch(60.53% 0.165 257.5)
XYZxyz(23.1865, 21.8262, 74.9276)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A80E2 #E29C3A
analogous
#3AD4E2 #3A80E2 #483AE2
triadic
#3A80E2 #E23A80 #80E23A
tetradic
#3A80E2 #E23AD4 #E29C3A #3AE248
square
#3A80E2 #E23AD4 #E29C3A #3AE248
split-complementary
#3A80E2 #E2483A #D4E23A
monochromatic
#15478D #1D62C2 #3A80E2 #6FA2EA #A5C5F2

Accessibility & contrast

On white

3.91
#3A80E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#3A80E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A80E2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A80E2#FFFFFF#000000##000000
##3A80E21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a80e2;
/* rgb */ color: rgb(58, 128, 226);
/* oklch */ color: oklch(60.5% 0.165 257.5);
Tailwind
colors: {
  custom: {
    50: '#86a4ec',
    500: '#3a80e2',
    950: '#000000',
  },
}
SCSS
$custom: #3a80e2;
$custom-light: #86a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a80e2",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 215,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.16468,
    "h": 257.5
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#3A80E2
secondary
#DFC299
accent
#A337F1
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3A80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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