#5058DC#5058DC

#5058DC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.198 H 274.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5058DC
RGBrgb(80, 88, 220)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 64%, 86%)
CMYKcmyk(63.6%, 60%, 0%, 13.7%)
CIE-LABlab(44.02, 37.26, -68.58)
CIE-LCHlch(44.02, 78.05, 298.52°)
OKLaboklab(53.23% 0.0165 -0.1975)
OKLCHoklch(53.23% 0.198 274.8)
XYZxyz(19.7120, 13.8506, 69.3309)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5058DC #DCD450
analogous
#509EDC #5058DC #8E50DC
triadic
#5058DC #DC5058 #58DC50
tetradic
#5058DC #DC509E #DCD450 #50DC8E
square
#5058DC #DC509E #DCD450 #50DC8E
split-complementary
#5058DC #DC8E50 #9EDC50
monochromatic
#1E2494 #2831C7 #5058DC #8389E6 #B6B9F0

Accessibility & contrast

On white

5.57
#5058DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5058DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5058DC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5058DC#FFFFFF#000000##FFFFFF
##5058DC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5058dc;
/* rgb */ color: rgb(80, 88, 220);
/* oklch */ color: oklch(53.2% 0.198 274.8);
Tailwind
colors: {
  custom: {
    50: '#9087e8',
    500: '#5058dc',
    950: '#000000',
  },
}
SCSS
$custom: #5058dc;
$custom-light: #9087e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5058dc",
  "rgb": {
    "r": 80,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 236.571,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.19818,
    "h": 274.8
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#5058DC
secondary
#DFDCA8
accent
#E03EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5058DC

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

Preview Lab → · Contrast checker → · Palette generator →

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