#5078EB#5078EB

#5078EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.179 H 266.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5078EB
RGBrgb(80, 120, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 66%, 92%)
CMYKcmyk(66%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.10, 22.59, -62.34)
CIE-LCHlch(53.10, 66.31, 289.92°)
OKLaboklab(60.38% -0.0106 -0.1788)
OKLCHoklch(60.38% 0.179 266.6)
XYZxyz(25.0149, 21.1342, 81.3422)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5078EB #EBC350
analogous
#50C6EB #5078EB #7650EB
triadic
#5078EB #EB5078 #78EB50
tetradic
#5078EB #EB50C6 #EBC350 #50EB76
square
#5078EB #EB50C6 #EBC350 #50EB76
split-complementary
#5078EB #EB7650 #C6EB50
monochromatic
#143BAD #1A4EE4 #5078EB #87A2F1 #BECDF8

Accessibility & contrast

On white

4.02
#5078EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5078EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5078EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5078EB#FFFFFF#000000##000000
##5078EB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#0678E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5078eb;
/* rgb */ color: rgb(80, 120, 235);
/* oklch */ color: oklch(60.4% 0.179 266.6);
Tailwind
colors: {
  custom: {
    50: '#919ef2',
    500: '#5078eb',
    950: '#000000',
  },
}
SCSS
$custom: #5078eb;
$custom-light: #919ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5078eb",
  "rgb": {
    "r": 80,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 224.516,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.17907,
    "h": 266.6
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#5078EB
secondary
#E8D9AF
accent
#A60ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5078EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5078EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva