#515BAF#515BAF

#515BAF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.132 H 275.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#515BAF
RGBrgb(81, 91, 175)
HSLhsl(234, 37%, 50%)
HSVhsv(234, 54%, 69%)
CMYKcmyk(53.7%, 48%, 0%, 31.4%)
CIE-LABlab(41.73, 20.58, -46.22)
CIE-LCHlch(41.73, 50.60, 294.01°)
OKLaboklab(50.55% 0.0127 -0.1317)
OKLCHoklch(50.55% 0.132 275.5)
XYZxyz(14.8698, 12.3257, 42.1447)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BAF #AFA551
analogous
#518AAF #515BAF #7651AF
triadic
#515BAF #AF515B #5BAF51
tetradic
#515BAF #AF518A #AFA551 #51AF76
square
#515BAF #AF518A #AFA551 #51AF76
split-complementary
#515BAF #AF7651 #8AAF51
monochromatic
#2A2F5C #3D4585 #515BAF #7B83C2 #A5AAD6

Accessibility & contrast

On white

6.06
#515BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#515BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BAF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BAF#FFFFFF#000000##FFFFFF
##515BAF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#256D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515baf;
/* rgb */ color: rgb(81, 91, 175);
/* oklch */ color: oklch(50.6% 0.132 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989c7',
    500: '#515baf',
    950: '#000000',
  },
}
SCSS
$custom: #515baf;
$custom-light: #8989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#515baf",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 233.617,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.13229,
    "h": 275.5
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#515BAF
secondary
#C3BE99
accent
#C15BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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