#5153E2#5153E2

#5153E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.212 H 275.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5153E2
RGBrgb(81, 83, 226)
HSLhsl(239, 71%, 60%)
HSVhsv(239, 64%, 89%)
CMYKcmyk(64.2%, 63.3%, 0%, 11.4%)
CIE-LABlab(43.40, 42.41, -73.01)
CIE-LCHlch(43.40, 84.43, 300.15°)
OKLaboklab(52.94% 0.0214 -0.2105)
OKLCHoklch(52.94% 0.212 275.8)
XYZxyz(20.2096, 13.4251, 73.4631)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153E2 #E2E051
analogous
#519CE2 #5153E2 #9751E2
triadic
#5153E2 #E25153 #53E251
tetradic
#5153E2 #E2519C #E2E051 #51E297
square
#5153E2 #E2519C #E2E051 #51E297
split-complementary
#5153E2 #E29751 #9CE251
monochromatic
#1A1C9E #2326D3 #5153E2 #8587EB #BABBF3

Accessibility & contrast

On white

5.70
#5153E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5153E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153E2#FFFFFF#000000##FFFFFF
##5153E21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5153e2;
/* rgb */ color: rgb(81, 83, 226);
/* oklch */ color: oklch(52.9% 0.212 275.8);
Tailwind
colors: {
  custom: {
    50: '#9284ec',
    500: '#5153e2',
    950: '#000000',
  },
}
SCSS
$custom: #5153e2;
$custom-light: #9284ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5153e2",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 239.172,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.21157,
    "h": 275.8
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#5153E2
secondary
#E3E2AC
accent
#D112D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153E2

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

Preview Lab → · Contrast checker → · Palette generator →

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