#5058DE#5058DE

#5058DE is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.4% C 0.201 H 274.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5058DE
RGBrgb(80, 88, 222)
HSLhsl(237, 68%, 59%)
HSVhsv(237, 64%, 87%)
CMYKcmyk(64%, 60.4%, 0%, 12.9%)
CIE-LABlab(44.17, 37.93, -69.47)
CIE-LCHlch(44.17, 79.15, 298.63°)
OKLaboklab(53.4% 0.0165 -0.2001)
OKLCHoklch(53.4% 0.201 274.7)
XYZxyz(19.9785, 13.9571, 70.7342)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5058DE #DED650
analogous
#509FDE #5058DE #8F50DE
triadic
#5058DE #DE5058 #58DE50
tetradic
#5058DE #DE509F #DED650 #50DE8F
square
#5058DE #DE509F #DED650 #50DE8F
split-complementary
#5058DE #DE8F50 #9FDE50
monochromatic
#1C2397 #262FCB #5058DE #8389E8 #B7BAF1

Accessibility & contrast

On white

5.54
#5058DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5058DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5058DE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5058DE#FFFFFF#000000##FFFFFF
##5058DE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5058de;
/* rgb */ color: rgb(80, 88, 222);
/* oklch */ color: oklch(53.4% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#9087e9',
    500: '#5058de',
    950: '#000000',
  },
}
SCSS
$custom: #5058de;
$custom-light: #9087e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5058de",
  "rgb": {
    "r": 80,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 236.62,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53396,
    "c": 0.20078,
    "h": 274.7
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#5058DE
secondary
#E1DEA9
accent
#E13DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5058DE

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

Preview Lab → · Contrast checker → · Palette generator →

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