#515FB3#515FB3

#515FB3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.133 H 273.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#515FB3
RGBrgb(81, 95, 179)
HSLhsl(231, 39%, 51%)
HSVhsv(231, 55%, 70%)
CMYKcmyk(54.7%, 46.9%, 0%, 29.8%)
CIE-LABlab(43.04, 19.37, -46.47)
CIE-LCHlch(43.04, 50.34, 292.63°)
OKLaboklab(51.63% 0.0086 -0.1324)
OKLCHoklch(51.63% 0.133 273.7)
XYZxyz(15.6196, 13.1873, 44.3614)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FB3 #B3A551
analogous
#5190B3 #515FB3 #7451B3
triadic
#515FB3 #B3515F #5FB351
tetradic
#515FB3 #B35190 #B3A551 #51B374
square
#515FB3 #B35190 #B3A551 #51B374
split-complementary
#515FB3 #B37451 #90B351
monochromatic
#2A3260 #3C488A #515FB3 #7C86C6 #A6ADD8

Accessibility & contrast

On white

5.77
#515FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#515FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FB3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FB3#FFFFFF#000000##FFFFFF
##515FB31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#1F7180
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515fb3;
/* rgb */ color: rgb(81, 95, 179);
/* oklch */ color: oklch(51.6% 0.133 273.7);
Tailwind
colors: {
  custom: {
    50: '#898cca',
    500: '#515fb3',
    950: '#000000',
  },
}
SCSS
$custom: #515fb3;
$custom-light: #898cca;
$custom-dark: #000000;
JSON
{
  "hex": "#515fb3",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 231.429,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.13264,
    "h": 273.7
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#515FB3
secondary
#C6BF9A
accent
#BE59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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