#5153CA#5153CA

#5153CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.180 H 277.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5153CA
RGBrgb(81, 83, 202)
HSLhsl(239, 53%, 55%)
HSVhsv(239, 60%, 79%)
CMYKcmyk(59.9%, 58.9%, 0%, 20.8%)
CIE-LABlab(41.53, 34.53, -62.30)
CIE-LCHlch(41.53, 71.23, 299.00°)
OKLaboklab(50.99% 0.0225 -0.179)
OKLCHoklch(50.99% 0.18 277.2)
XYZxyz(17.1438, 12.1988, 57.3169)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153CA #CAC851
analogous
#5190CA #5153CA #8B51CA
triadic
#5153CA #CA5153 #53CA51
tetradic
#5153CA #CA5190 #CAC851 #51CA8B
square
#5153CA #CA5190 #CAC851 #51CA8B
split-complementary
#5153CA #CA8B51 #90CA51
monochromatic
#25277B #3436AA #5153CA #8081D8 #AFB0E7

Accessibility & contrast

On white

6.10
#5153CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5153CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153CA#FFFFFF#000000##FFFFFF
##5153CA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5153ca;
/* rgb */ color: rgb(81, 83, 202);
/* oklch */ color: oklch(51.0% 0.180 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d83db',
    500: '#5153ca',
    950: '#000000',
  },
}
SCSS
$custom: #5153ca;
$custom-light: #8d83db;
$custom-dark: #000000;
JSON
{
  "hex": "#5153ca",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 239.008,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.18044,
    "h": 277.2
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#5153CA
secondary
#D5D4A2
accent
#DA4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153CA

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

Preview Lab → · Contrast checker → · Palette generator →

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