#5078CA#5078CA

#5078CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.134 H 263.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5078CA
RGBrgb(80, 120, 202)
HSLhsl(220, 54%, 55%)
HSVhsv(220, 60%, 79%)
CMYKcmyk(60.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.15, 11.28, -46.83)
CIE-LCHlch(51.15, 48.17, 283.55°)
OKLaboklab(58.26% -0.0158 -0.1332)
OKLCHoklch(58.26% 0.134 263.2)
XYZxyz(20.6817, 19.4009, 58.5205)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5078CA #CAA250
analogous
#50B5CA #5078CA #6550CA
triadic
#5078CA #CA5078 #78CA50
tetradic
#5078CA #CA50B5 #CAA250 #50CA65
square
#5078CA #CA50B5 #CAA250 #50CA65
split-complementary
#5078CA #CA6550 #B5CA50
monochromatic
#25417A #335AA9 #5078CA #7F9CD8 #AEC0E6

Accessibility & contrast

On white

4.30
#5078CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5078CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5078CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5078CA#FFFFFF#000000##000000
##5078CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5078ca;
/* rgb */ color: rgb(80, 120, 202);
/* oklch */ color: oklch(58.3% 0.134 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9eda',
    500: '#5078ca',
    950: '#000000',
  },
}
SCSS
$custom: #5078ca;
$custom-light: #8b9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5078ca",
  "rgb": {
    "r": 80,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 220.328,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.13411,
    "h": 263.2
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#5078CA
secondary
#D4C4A1
accent
#AD4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5078CA

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

Preview Lab → · Contrast checker → · Palette generator →

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