#5058D4#5058D4

#5058D4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.188 H 275.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5058D4
RGBrgb(80, 88, 212)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 62%, 83%)
CMYKcmyk(62.3%, 58.5%, 0%, 16.9%)
CIE-LABlab(43.41, 34.60, -64.99)
CIE-LCHlch(43.41, 73.63, 298.03°)
OKLaboklab(52.6% 0.0167 -0.1869)
OKLCHoklch(52.6% 0.188 275.1)
XYZxyz(18.6778, 13.4369, 63.8839)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5058D4 #D4CC50
analogous
#509AD4 #5058D4 #8A50D4
triadic
#5058D4 #D45058 #58D450
tetradic
#5058D4 #D4509A #D4CC50 #50D48A
square
#5058D4 #D4509A #D4CC50 #50D48A
split-complementary
#5058D4 #D48A50 #9AD450
monochromatic
#212888 #2E36B9 #5058D4 #8187E0 #B2B6EC

Accessibility & contrast

On white

5.69
#5058D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5058D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5058D4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5058D4#FFFFFF#000000##FFFFFF
##5058D41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5058d4;
/* rgb */ color: rgb(80, 88, 212);
/* oklch */ color: oklch(52.6% 0.188 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e87e2',
    500: '#5058d4',
    950: '#000000',
  },
}
SCSS
$custom: #5058d4;
$custom-light: #8e87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5058d4",
  "rgb": {
    "r": 80,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 236.364,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.18768,
    "h": 275.1
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#5058D4
secondary
#DBD7A5
accent
#DA44E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5058D4

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

Preview Lab → · Contrast checker → · Palette generator →

#5058D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva