#515FE1#515FE1

#515FE1 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.196 H 273.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#515FE1
RGBrgb(81, 95, 225)
HSLhsl(234, 71%, 60%)
HSVhsv(234, 64%, 88%)
CMYKcmyk(64%, 57.8%, 0%, 11.8%)
CIE-LABlab(46.13, 34.79, -67.98)
CIE-LCHlch(46.13, 76.36, 297.11°)
OKLaboklab(54.94% 0.0117 -0.1956)
OKLCHoklch(54.94% 0.196 273.4)
XYZxyz(21.0716, 15.3682, 73.0755)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FE1 #E1D351
analogous
#51A7E1 #515FE1 #8B51E1
triadic
#515FE1 #E1515F #5FE151
tetradic
#515FE1 #E151A7 #E1D351 #51E18B
square
#515FE1 #E151A7 #E1D351 #51E18B
split-complementary
#515FE1 #E18B51 #A7E151
monochromatic
#1B289D #2435D1 #515FE1 #858FEA #B9BFF3

Accessibility & contrast

On white

5.15
#515FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#515FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FE1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FE1#FFFFFF#000000##FFFFFF
##515FE11.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #515fe1;
/* rgb */ color: rgb(81, 95, 225);
/* oklch */ color: oklch(54.9% 0.196 273.4);
Tailwind
colors: {
  custom: {
    50: '#918ceb',
    500: '#515fe1',
    950: '#000000',
  },
}
SCSS
$custom: #515fe1;
$custom-light: #918ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#515fe1",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 234.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.19597,
    "h": 273.4
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#515FE1
secondary
#E3DDAB
accent
#DC3AED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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