#515ECF#515ECF

#515ECF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.173 H 274.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#515ECF
RGBrgb(81, 94, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(60.9%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.60, 29.36, -60.20)
CIE-LCHlch(44.60, 66.98, 296.00°)
OKLaboklab(53.39% 0.0122 -0.1728)
OKLCHoklch(53.39% 0.173 274)
XYZxyz(18.6548, 14.2582, 60.7884)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ECF #CFC251
analogous
#519DCF #515ECF #8351CF
triadic
#515ECF #CF515E #5ECF51
tetradic
#515ECF #CF519D #CFC251 #51CF83
square
#515ECF #CF519D #CFC251 #51CF83
split-complementary
#515ECF #CF8351 #9DCF51
monochromatic
#242E82 #313EB2 #515ECF #818ADC #B1B7E9

Accessibility & contrast

On white

5.45
#515ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#515ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ECF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ECF#FFFFFF#000000##FFFFFF
##515ECF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515ecf;
/* rgb */ color: rgb(81, 94, 207);
/* oklch */ color: oklch(53.4% 0.173 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e8bde',
    500: '#515ecf',
    950: '#000000',
  },
}
SCSS
$custom: #515ecf;
$custom-light: #8e8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#515ecf",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 233.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.17319,
    "h": 274
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#515ECF
secondary
#D8D2A4
accent
#D048E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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