#5153EB#5153EB

#5153EB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.223 H 275.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5153EB
RGBrgb(81, 83, 235)
HSLhsl(239, 79%, 62%)
HSVhsv(239, 66%, 92%)
CMYKcmyk(65.5%, 64.7%, 0%, 7.8%)
CIE-LABlab(44.14, 45.34, -76.89)
CIE-LCHlch(44.14, 89.26, 300.53°)
OKLaboklab(53.71% 0.0207 -0.2219)
OKLCHoklch(53.71% 0.223 275.3)
XYZxyz(21.4771, 13.9321, 80.1385)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153EB #EBE951
analogous
#51A0EB #5153EB #9C51EB
triadic
#5153EB #EB5153 #53EB51
tetradic
#5153EB #EB51A0 #EBE951 #51EB9C
square
#5153EB #EB51A0 #EBE951 #51EB9C
split-complementary
#5153EB #EB9C51 #A0EB51
monochromatic
#1416AE #1A1DE5 #5153EB #8889F1 #BFC0F8

Accessibility & contrast

On white

5.55
#5153EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5153EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153EB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153EB#FFFFFF#000000##FFFFFF
##5153EB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5153eb;
/* rgb */ color: rgb(81, 83, 235);
/* oklch */ color: oklch(53.7% 0.223 275.3);
Tailwind
colors: {
  custom: {
    50: '#9384f3',
    500: '#5153eb',
    950: '#000000',
  },
}
SCSS
$custom: #5153eb;
$custom-light: #9384f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5153eb",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 239.221,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.22284,
    "h": 275.3
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#5153EB
secondary
#E8E8B0
accent
#D90ADC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5153EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5153EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva