#5035DC#5035DC

#5035DC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 48.0% C 0.236 H 280.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5035DC
RGBrgb(80, 53, 220)
HSLhsl(250, 70%, 54%)
HSVhsv(250, 76%, 86%)
CMYKcmyk(63.6%, 75.9%, 0%, 13.7%)
CIE-LABlab(36.78, 56.94, -80.46)
CIE-LCHlch(36.78, 98.57, 305.29°)
OKLaboklab(48.02% 0.0414 -0.2322)
OKLCHoklch(48.02% 0.236 280.1)
XYZxyz(17.4955, 9.4176, 68.5921)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035DC #C1DC35
analogous
#356DDC #5035DC #A435DC
triadic
#5035DC #DC5035 #35DC50
tetradic
#5035DC #DC356D #C1DC35 #35DCA4
square
#5035DC #DC356D #C1DC35 #35DCA4
split-complementary
#5035DC #DCA435 #6DDC35
monochromatic
#271680 #371FB5 #5035DC #7D69E5 #AA9DEE

Accessibility & contrast

On white

7.28
#5035DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5035DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035DC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035DC#FFFFFF#000000##FFFFFF
##5035DC1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#0050D9
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5035dc;
/* rgb */ color: rgb(80, 53, 220);
/* oklch */ color: oklch(48.0% 0.236 280.1);
Tailwind
colors: {
  custom: {
    50: '#9270e8',
    500: '#5035dc',
    950: '#000000',
  },
}
SCSS
$custom: #5035dc;
$custom-light: #9270e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5035dc",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 249.701,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.2359,
    "h": 280.1
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#5035DC
secondary
#CFDA93
accent
#ED3BD0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5035DC

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

Preview Lab → · Contrast checker → · Palette generator →

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