#5153FF#5153FF

#5153FF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.5% C 0.247 H 274.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5153FF
RGBrgb(81, 83, 255)
HSLhsl(239, 100%, 66%)
HSVhsv(239, 68%, 100%)
CMYKcmyk(68.2%, 67.5%, 0%, 0%)
CIE-LABlab(45.84, 51.77, -85.30)
CIE-LCHlch(45.84, 99.78, 301.26°)
OKLaboklab(55.47% 0.0185 -0.2465)
OKLCHoklch(55.47% 0.247 274.3)
XYZxyz(24.5306, 15.1535, 96.2205)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153FF #FFFD51
analogous
#51AAFF #5153FF #A651FF
triadic
#5153FF #FF5153 #53FF51
tetradic
#5153FF #FF51AA #FFFD51 #51FFA6
square
#5153FF #FF51AA #FFFD51 #51FFA6
split-complementary
#5153FF #FFA651 #AAFF51
monochromatic
#0002D6 #1417FF #5153FF #8E8FFF #CBCCFF

Accessibility & contrast

On white

5.21
#5153FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5153FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153FF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153FF#FFFFFF#000000##FFFFFF
##5153FF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0064FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5153ff;
/* rgb */ color: rgb(81, 83, 255);
/* oklch */ color: oklch(55.5% 0.247 274.3);
Tailwind
colors: {
  custom: {
    50: '#9784ff',
    500: '#5153ff',
    950: '#000000',
  },
}
SCSS
$custom: #5153ff;
$custom-light: #9784ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5153ff",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 255
  },
  "hsl": {
    "h": 239.31,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.24718,
    "h": 274.3
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#5153FF
secondary
#F3F2B9
accent
#E300E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5153FF

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

Preview Lab → · Contrast checker → · Palette generator →

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