#515FAA#515FAA

#515FAA is a mid, moderate blue. Relative luminance 0.128; OKLCH L 51.1% C 0.120 H 273.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#515FAA
RGBrgb(81, 95, 170)
HSLhsl(231, 35%, 49%)
HSVhsv(231, 52%, 67%)
CMYKcmyk(52.4%, 44.1%, 0%, 33.3%)
CIE-LABlab(42.51, 16.41, -42.02)
CIE-LCHlch(42.51, 45.11, 291.33°)
OKLaboklab(51.05% 0.0073 -0.1193)
OKLCHoklch(51.05% 0.12 273.5)
XYZxyz(14.7389, 12.8351, 39.7232)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FAA #AA9C51
analogous
#518CAA #515FAA #7051AA
triadic
#515FAA #AA515F #5FAA51
tetradic
#515FAA #AA518C #AA9C51 #51AA70
square
#515FAA #AA518C #AA9C51 #51AA70
split-complementary
#515FAA #AA7051 #8CAA51
monochromatic
#2A3157 #3D4881 #515FAA #7984BF #A2AAD3

Accessibility & contrast

On white

5.89
#515FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#515FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FAA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FAA#FFFFFF#000000##FFFFFF
##515FAA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#296F7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515faa;
/* rgb */ color: rgb(81, 95, 170);
/* oklch */ color: oklch(51.1% 0.120 273.5);
Tailwind
colors: {
  custom: {
    50: '#888cc4',
    500: '#515faa',
    950: '#000000',
  },
}
SCSS
$custom: #515faa;
$custom-light: #888cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#515faa",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 230.562,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.11954,
    "h": 273.5
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#515FAA
secondary
#C0BA97
accent
#BA5CCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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