#515E89#515E89

#515E89 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 48.9% C 0.071 H 270.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#515E89
RGBrgb(81, 94, 137)
HSLhsl(226, 26%, 43%)
HSVhsv(226, 41%, 54%)
CMYKcmyk(40.9%, 31.4%, 0%, 46.3%)
CIE-LABlab(40.51, 6.63, -25.47)
CIE-LCHlch(40.51, 26.32, 284.60°)
OKLaboklab(48.95% 0.0009 -0.0711)
OKLCHoklch(48.95% 0.071 270.7)
XYZxyz(11.9100, 11.5603, 25.2659)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E89 #897C51
analogous
#517A89 #515E89 #605189
triadic
#515E89 #89515E #5E8951
tetradic
#515E89 #89517A #897C51 #518960
square
#515E89 #89517A #897C51 #518960
split-complementary
#515E89 #896051 #7A8951
monochromatic
#24293C #3A4463 #515E89 #6E7CA9 #949FC0

Accessibility & contrast

On white

6.34
#515E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#515E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515E89
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E89#FFFFFF#000000##FFFFFF
##515E891.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628B
Deuteranopia (green-blind)
#4B5D88
Tritanopia (blue-blind)
#3F676D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515e89;
/* rgb */ color: rgb(81, 94, 137);
/* oklch */ color: oklch(48.9% 0.071 270.7);
Tailwind
colors: {
  custom: {
    50: '#848bab',
    500: '#515e89',
    950: '#000000',
  },
}
SCSS
$custom: #515e89;
$custom-light: #848bab;
$custom-dark: #000000;
JSON
{
  "hex": "#515e89",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 226.071,
    "s": 25.688,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.07115,
    "h": 270.7
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#515E89
secondary
#ADA589
accent
#AD66C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #515E89

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

Preview Lab → · Contrast checker → · Palette generator →

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