#5078EE#5078EE

#5078EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.183 H 266.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5078EE
RGBrgb(80, 120, 238)
HSLhsl(225, 82%, 62%)
HSVhsv(225, 66%, 93%)
CMYKcmyk(66.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.29, 23.63, -63.71)
CIE-LCHlch(53.29, 67.95, 290.35°)
OKLaboklab(60.58% -0.0102 -0.1828)
OKLCHoklch(60.58% 0.183 266.8)
XYZxyz(25.4520, 21.3090, 83.6441)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5078EE #EEC650
analogous
#50C7EE #5078EE #7750EE
triadic
#5078EE #EE5078 #78EE50
tetradic
#5078EE #EE50C7 #EEC650 #50EE77
square
#5078EE #EE50C7 #EEC650 #50EE77
split-complementary
#5078EE #EE7750 #C7EE50
monochromatic
#113AB2 #184DE9 #5078EE #88A3F3 #C0CEF9

Accessibility & contrast

On white

3.99
#5078EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5078EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5078EE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5078EE#FFFFFF#000000##000000
##5078EE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5078ee;
/* rgb */ color: rgb(80, 120, 238);
/* oklch */ color: oklch(60.6% 0.183 266.8);
Tailwind
colors: {
  custom: {
    50: '#919ef4',
    500: '#5078ee',
    950: '#000000',
  },
}
SCSS
$custom: #5078ee;
$custom-light: #919ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5078ee",
  "rgb": {
    "r": 80,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 224.81,
    "s": 82.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.18307,
    "h": 266.8
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#5078EE
secondary
#EADBB0
accent
#A807DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5078EE

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

Preview Lab → · Contrast checker → · Palette generator →

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