#5076EF#5076EF

#5076EF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.187 H 267.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5076EF
RGBrgb(80, 118, 239)
HSLhsl(226, 83%, 63%)
HSVhsv(226, 67%, 94%)
CMYKcmyk(66.5%, 50.6%, 0%, 6.3%)
CIE-LABlab(52.83, 25.21, -65.00)
CIE-LCHlch(52.83, 69.72, 291.20°)
OKLaboklab(60.26% -0.0084 -0.1866)
OKLCHoklch(60.26% 0.187 267.4)
XYZxyz(25.3613, 20.8919, 84.3406)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5076EF #EFC950
analogous
#50C6EF #5076EF #7950EF
triadic
#5076EF #EF5076 #76EF50
tetradic
#5076EF #EF50C6 #EFC950 #50EF79
square
#5076EF #EF50C6 #EFC950 #50EF79
split-complementary
#5076EF #EF7950 #C6EF50
monochromatic
#1038B4 #184AEA #5076EF #88A2F4 #C0CEF9

Accessibility & contrast

On white

4.05
#5076EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5076EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5076EF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5076EF#FFFFFF#000000##000000
##5076EF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5076ef;
/* rgb */ color: rgb(80, 118, 239);
/* oklch */ color: oklch(60.3% 0.187 267.4);
Tailwind
colors: {
  custom: {
    50: '#919df5',
    500: '#5076ef',
    950: '#000000',
  },
}
SCSS
$custom: #5076ef;
$custom-light: #919df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5076ef",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 225.66,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.1868,
    "h": 267.4
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#5076EF
secondary
#EADCB0
accent
#AC06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5076EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5076EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva