#5058DF#5058DF

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

Color values

HEX#5058DF
RGBrgb(80, 88, 223)
HSLhsl(237, 69%, 59%)
HSVhsv(237, 64%, 87%)
CMYKcmyk(64.1%, 60.5%, 0%, 12.5%)
CIE-LABlab(44.25, 38.26, -69.91)
CIE-LCHlch(44.25, 79.70, 298.69°)
OKLaboklab(53.48% 0.0164 -0.2014)
OKLCHoklch(53.48% 0.202 274.7)
XYZxyz(20.1129, 14.0109, 71.4422)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5058DF #DFD750
analogous
#50A0DF #5058DF #8F50DF
triadic
#5058DF #DF5058 #58DF50
tetradic
#5058DF #DF50A0 #DFD750 #50DF8F
square
#5058DF #DF50A0 #DFD750 #50DF8F
split-complementary
#5058DF #DF8F50 #A0DF50
monochromatic
#1C2399 #252FCC #5058DF #8489E8 #B7BBF2

Accessibility & contrast

On white

5.52
#5058DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5058DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5058DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5058DF#FFFFFF#000000##FFFFFF
##5058DF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5058df;
/* rgb */ color: rgb(80, 88, 223);
/* oklch */ color: oklch(53.5% 0.202 274.7);
Tailwind
colors: {
  custom: {
    50: '#9087ea',
    500: '#5058df',
    950: '#000000',
  },
}
SCSS
$custom: #5058df;
$custom-light: #9087ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5058df",
  "rgb": {
    "r": 80,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 236.643,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.20207,
    "h": 274.7
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#5058DF
secondary
#E1DEAA
accent
#E23CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5058DF

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

Preview Lab → · Contrast checker → · Palette generator →

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