#515FE2#515FE2

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

Color values

HEX#515FE2
RGBrgb(81, 95, 226)
HSLhsl(234, 71%, 60%)
HSVhsv(234, 64%, 89%)
CMYKcmyk(64.2%, 58%, 0%, 11.4%)
CIE-LABlab(46.21, 35.13, -68.42)
CIE-LCHlch(46.21, 76.92, 297.18°)
OKLaboklab(55.01% 0.0117 -0.1969)
OKLCHoklch(55.01% 0.197 273.4)
XYZxyz(21.2085, 15.4229, 73.7960)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FE2 #E2D451
analogous
#51A7E2 #515FE2 #8B51E2
triadic
#515FE2 #E2515F #5FE251
tetradic
#515FE2 #E251A7 #E2D451 #51E28B
square
#515FE2 #E251A7 #E2D451 #51E28B
split-complementary
#515FE2 #E28B51 #A7E251
monochromatic
#1A279E #2334D3 #515FE2 #858FEB #BABFF3

Accessibility & contrast

On white

5.14
#515FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#515FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FE2#FFFFFF#000000##FFFFFF
##515FE21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515fe2;
/* rgb */ color: rgb(81, 95, 226);
/* oklch */ color: oklch(55.0% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#918cec',
    500: '#515fe2',
    950: '#000000',
  },
}
SCSS
$custom: #515fe2;
$custom-light: #918cec;
$custom-dark: #000000;
JSON
{
  "hex": "#515fe2",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 234.207,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.19728,
    "h": 273.4
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#515FE2
secondary
#E3DEAC
accent
#C112D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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