#515CEF#515CEF

#515CEF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.218 H 273.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#515CEF
RGBrgb(81, 92, 239)
HSLhsl(236, 83%, 63%)
HSVhsv(236, 66%, 94%)
CMYKcmyk(66.1%, 61.5%, 0%, 6.3%)
CIE-LABlab(46.49, 41.30, -75.30)
CIE-LCHlch(46.49, 85.88, 298.74°)
OKLaboklab(55.53% 0.0138 -0.2171)
OKLCHoklch(55.53% 0.218 273.6)
XYZxyz(22.7953, 15.6335, 83.4609)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CEF #EFE451
analogous
#51ABEF #515CEF #9551EF
triadic
#515CEF #EF515C #5CEF51
tetradic
#515CEF #EF51AB #EFE451 #51EF95
square
#515CEF #EF51AB #EFE451 #51EF95
split-complementary
#515CEF #EF9551 #ABEF51
monochromatic
#111CB5 #1927EA #515CEF #8991F4 #C1C5F9

Accessibility & contrast

On white

5.09
#515CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#515CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CEF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CEF#FFFFFF#000000##FFFFFF
##515CEF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #515cef;
/* rgb */ color: rgb(81, 92, 239);
/* oklch */ color: oklch(55.5% 0.218 273.6);
Tailwind
colors: {
  custom: {
    50: '#938af5',
    500: '#515cef',
    950: '#000000',
  },
}
SCSS
$custom: #515cef;
$custom-light: #938af5;
$custom-dark: #000000;
JSON
{
  "hex": "#515cef",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 235.823,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.21759,
    "h": 273.6
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#515CEF
secondary
#EAE7B1
accent
#D006E0
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #515CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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