#5153CF#5153CF

#5153CF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.187 H 276.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5153CF
RGBrgb(81, 83, 207)
HSLhsl(239, 57%, 56%)
HSVhsv(239, 61%, 81%)
CMYKcmyk(60.9%, 59.9%, 0%, 18.8%)
CIE-LABlab(41.91, 36.18, -64.57)
CIE-LCHlch(41.91, 74.01, 299.26°)
OKLaboklab(51.38% 0.0224 -0.1857)
OKLCHoklch(51.38% 0.187 276.9)
XYZxyz(17.7454, 12.4395, 60.4853)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153CF #CFCD51
analogous
#5192CF #5153CF #8E51CF
triadic
#5153CF #CF5153 #53CF51
tetradic
#5153CF #CF5192 #CFCD51 #51CF8E
square
#5153CF #CF5192 #CFCD51 #51CF8E
split-complementary
#5153CF #CF8E51 #92CF51
monochromatic
#242582 #3133B2 #5153CF #8182DC #B1B2E9

Accessibility & contrast

On white

6.02
#5153CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5153CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153CF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153CF#FFFFFF#000000##FFFFFF
##5153CF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5153cf;
/* rgb */ color: rgb(81, 83, 207);
/* oklch */ color: oklch(51.4% 0.187 276.9);
Tailwind
colors: {
  custom: {
    50: '#8e83df',
    500: '#5153cf',
    950: '#000000',
  },
}
SCSS
$custom: #5153cf;
$custom-light: #8e83df;
$custom-dark: #000000;
JSON
{
  "hex": "#5153cf",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 239.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.18705,
    "h": 276.9
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#5153CF
secondary
#D8D7A4
accent
#DE48E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153CF

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

Preview Lab → · Contrast checker → · Palette generator →

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