#515D97#515D97

#515D97 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.5% C 0.094 H 273.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#515D97
RGBrgb(81, 93, 151)
HSLhsl(230, 30%, 45%)
HSVhsv(230, 46%, 59%)
CMYKcmyk(46.4%, 38.4%, 0%, 40.8%)
CIE-LABlab(40.92, 11.57, -33.26)
CIE-LCHlch(40.92, 35.22, 289.19°)
OKLaboklab(49.49% 0.006 -0.0937)
OKLCHoklch(49.49% 0.094 273.6)
XYZxyz(12.8919, 11.8117, 30.8727)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D97 #978B51
analogous
#518097 #515D97 #685197
triadic
#515D97 #97515D #5D9751
tetradic
#515D97 #975180 #978B51 #519768
square
#515D97 #975180 #978B51 #519768
split-complementary
#515D97 #976851 #809751
monochromatic
#262C47 #3C446F #515D97 #727DB3 #9AA2C9

Accessibility & contrast

On white

6.25
#515D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#515D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515D97
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D97#FFFFFF#000000##FFFFFF
##515D971.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#386973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515d97;
/* rgb */ color: rgb(81, 93, 151);
/* oklch */ color: oklch(49.5% 0.094 273.6);
Tailwind
colors: {
  custom: {
    50: '#858ab6',
    500: '#515d97',
    950: '#000000',
  },
}
SCSS
$custom: #515d97;
$custom-light: #858ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#515d97",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 229.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.09392,
    "h": 273.6
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#515D97
secondary
#B6AF8E
accent
#B561C6
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515D97

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

Preview Lab → · Contrast checker → · Palette generator →

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