#5074DA#5074DA

#5074DA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.161 H 266.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5074DA
RGBrgb(80, 116, 218)
HSLhsl(224, 65%, 58%)
HSVhsv(224, 63%, 85%)
CMYKcmyk(63.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(50.99, 19.21, -56.18)
CIE-LCHlch(50.99, 59.38, 288.88°)
OKLaboklab(58.43% -0.009 -0.1607)
OKLCHoklch(58.43% 0.161 266.8)
XYZxyz(22.2042, 19.2562, 68.8628)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5074DA #DAB650
analogous
#50B9DA #5074DA #7150DA
triadic
#5074DA #DA5074 #74DA50
tetradic
#5074DA #DA50B9 #DAB650 #50DA71
square
#5074DA #DA50B9 #DAB650 #50DA71
split-complementary
#5074DA #DA7150 #B9DA50
monochromatic
#1F3C91 #2952C3 #5074DA #839CE5 #B5C4EF

Accessibility & contrast

On white

4.33
#5074DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5074DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5074DA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5074DA#FFFFFF#000000##000000
##5074DA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5074da;
/* rgb */ color: rgb(80, 116, 218);
/* oklch */ color: oklch(58.4% 0.161 266.8);
Tailwind
colors: {
  custom: {
    50: '#8e9be6',
    500: '#5074da',
    950: '#000000',
  },
}
SCSS
$custom: #5074da;
$custom-light: #8e9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5074da",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 224.348,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.16094,
    "h": 266.8
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#5074DA
secondary
#DED0A8
accent
#BC40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5074DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5074DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva