#515FF1#515FF1

#515FF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.2% C 0.217 H 273.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#515FF1
RGBrgb(81, 95, 241)
HSLhsl(235, 85%, 63%)
HSVhsv(235, 66%, 95%)
CMYKcmyk(66.4%, 60.6%, 0%, 5.5%)
CIE-LABlab(47.34, 40.15, -75.03)
CIE-LCHlch(47.34, 85.09, 298.16°)
OKLaboklab(56.21% 0.0114 -0.2163)
OKLCHoklch(56.21% 0.217 273)
XYZxyz(23.3574, 16.2825, 85.1139)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FF1 #F1E351
analogous
#51AFF1 #515FF1 #9351F1
triadic
#515FF1 #F1515F #5FF151
tetradic
#515FF1 #F151AF #F1E351 #51F193
square
#515FF1 #F151AF #F1E351 #51F193
split-complementary
#515FF1 #F19351 #AFF151
monochromatic
#0F1EB9 #182BEC #515FF1 #8A93F6 #C2C7FA

Accessibility & contrast

On white

4.93
#515FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#515FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FF1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FF1#FFFFFF#000000##FFFFFF
##515FF11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #515ff1;
/* rgb */ color: rgb(81, 95, 241);
/* oklch */ color: oklch(56.2% 0.217 273.0);
Tailwind
colors: {
  custom: {
    50: '#948cf7',
    500: '#515ff1',
    950: '#000000',
  },
}
SCSS
$custom: #515ff1;
$custom-light: #948cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#515ff1",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 234.75,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.21663,
    "h": 273
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#515FF1
secondary
#ECE7B2
accent
#CE04E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #515FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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