#515EA8#515EA8

#515EA8 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.7% C 0.118 H 273.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#515EA8
RGBrgb(81, 94, 168)
HSLhsl(231, 35%, 49%)
HSVhsv(231, 52%, 66%)
CMYKcmyk(51.8%, 44%, 0%, 34.1%)
CIE-LABlab(42.13, 16.39, -41.46)
CIE-LCHlch(42.13, 44.58, 291.57°)
OKLaboklab(50.72% 0.0081 -0.1177)
OKLCHoklch(50.72% 0.118 273.9)
XYZxyz(14.4617, 12.5810, 38.7045)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA8 #A89B51
analogous
#518AA8 #515EA8 #7051A8
triadic
#515EA8 #A8515E #5EA851
tetradic
#515EA8 #A8518A #A89B51 #51A870
square
#515EA8 #A8518A #A89B51 #51A870
split-complementary
#515EA8 #A87051 #8AA851
monochromatic
#293055 #3D477F #515EA8 #7883BE #A1A9D2

Accessibility & contrast

On white

5.97
#515EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA8#FFFFFF#000000##FFFFFF
##515EA81.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#2C6E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515ea8;
/* rgb */ color: rgb(81, 94, 168);
/* oklch */ color: oklch(50.7% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#888bc2',
    500: '#515ea8',
    950: '#000000',
  },
}
SCSS
$custom: #515ea8;
$custom-light: #888bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea8",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 231.034,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.11796,
    "h": 273.9
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#515EA8
secondary
#BFB996
accent
#BB5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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