#515DA8#515DA8

#515DA8 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.119 H 274.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#515DA8
RGBrgb(81, 93, 168)
HSLhsl(232, 35%, 49%)
HSVhsv(232, 52%, 66%)
CMYKcmyk(51.8%, 44.6%, 0%, 34.1%)
CIE-LABlab(41.85, 17.02, -41.90)
CIE-LCHlch(41.85, 45.22, 292.11°)
OKLaboklab(50.51% 0.0093 -0.119)
OKLCHoklch(50.51% 0.119 274.5)
XYZxyz(14.3733, 12.4043, 38.6751)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DA8 #A89C51
analogous
#5189A8 #515DA8 #7151A8
triadic
#515DA8 #A8515D #5DA851
tetradic
#515DA8 #A85189 #A89C51 #51A871
square
#515DA8 #A85189 #A89C51 #51A871
split-complementary
#515DA8 #A87151 #89A851
monochromatic
#292F55 #3D467F #515DA8 #7882BE #A1A8D2

Accessibility & contrast

On white

6.03
#515DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#515DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DA8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DA8#FFFFFF#000000##FFFFFF
##515DA81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#2C6D7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515da8;
/* rgb */ color: rgb(81, 93, 168);
/* oklch */ color: oklch(50.5% 0.119 274.5);
Tailwind
colors: {
  custom: {
    50: '#888ac2',
    500: '#515da8',
    950: '#000000',
  },
}
SCSS
$custom: #515da8;
$custom-light: #888ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#515da8",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 231.724,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.11933,
    "h": 274.5
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#515DA8
secondary
#BFB996
accent
#BC5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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