#5153DF#5153DF

#5153DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.7% C 0.208 H 276.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5153DF
RGBrgb(81, 83, 223)
HSLhsl(239, 69%, 60%)
HSVhsv(239, 64%, 87%)
CMYKcmyk(63.7%, 62.8%, 0%, 12.5%)
CIE-LABlab(43.16, 41.43, -71.70)
CIE-LCHlch(43.16, 82.80, 300.02°)
OKLaboklab(52.69% 0.0216 -0.2066)
OKLCHoklch(52.69% 0.208 276)
XYZxyz(19.8015, 13.2619, 71.3140)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153DF #DFDD51
analogous
#519ADF #5153DF #9651DF
triadic
#5153DF #DF5153 #53DF51
tetradic
#5153DF #DF519A #DFDD51 #51DF96
square
#5153DF #DF519A #DFDD51 #51DF96
split-complementary
#5153DF #DF9651 #9ADF51
monochromatic
#1C1E99 #2628CD #5153DF #8586E9 #B8B9F2

Accessibility & contrast

On white

5.75
#5153DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5153DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153DF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153DF#FFFFFF#000000##FFFFFF
##5153DF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5153df;
/* rgb */ color: rgb(81, 83, 223);
/* oklch */ color: oklch(52.7% 0.208 276.0);
Tailwind
colors: {
  custom: {
    50: '#9184ea',
    500: '#5153df',
    950: '#000000',
  },
}
SCSS
$custom: #5153df;
$custom-light: #9184ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5153df",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 223
  },
  "hsl": {
    "h": 239.155,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.20776,
    "h": 276
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#5153DF
secondary
#E1E1AA
accent
#E93CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153DF

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

Preview Lab → · Contrast checker → · Palette generator →

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