#515CE3#515CE3

#515CE3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.202 H 274.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#515CE3
RGBrgb(81, 92, 227)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 64%, 89%)
CMYKcmyk(64.3%, 59.5%, 0%, 11%)
CIE-LABlab(45.56, 37.30, -70.04)
CIE-LCHlch(45.56, 79.36, 298.04°)
OKLaboklab(54.56% 0.0142 -0.2017)
OKLCHoklch(54.56% 0.202 274)
XYZxyz(21.0810, 14.9478, 74.4324)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CE3 #E3D851
analogous
#51A5E3 #515CE3 #8F51E3
triadic
#515CE3 #E3515C #5CE351
tetradic
#515CE3 #E351A5 #E3D851 #51E38F
square
#515CE3 #E351A5 #E3D851 #51E38F
split-complementary
#515CE3 #E38F51 #A5E351
monochromatic
#1A24A0 #2230D5 #515CE3 #868DEB #BABFF4

Accessibility & contrast

On white

5.26
#515CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#515CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CE3#FFFFFF#000000##FFFFFF
##515CE31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #515ce3;
/* rgb */ color: rgb(81, 92, 227);
/* oklch */ color: oklch(54.6% 0.202 274.0);
Tailwind
colors: {
  custom: {
    50: '#918aed',
    500: '#515ce3',
    950: '#000000',
  },
}
SCSS
$custom: #515ce3;
$custom-light: #918aed;
$custom-dark: #000000;
JSON
{
  "hex": "#515ce3",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 235.479,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.20222,
    "h": 274
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#515CE3
secondary
#E4E0AC
accent
#C611D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CE3

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

Preview Lab → · Contrast checker → · Palette generator →

#515CE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva