#515DBB#515DBB

#515DBB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.147 H 274.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#515DBB
RGBrgb(81, 93, 187)
HSLhsl(233, 44%, 53%)
HSVhsv(233, 57%, 73%)
CMYKcmyk(56.7%, 50.3%, 0%, 26.7%)
CIE-LABlab(43.01, 23.29, -51.20)
CIE-LCHlch(43.01, 56.25, 294.46°)
OKLaboklab(51.76% 0.0118 -0.1463)
OKLCHoklch(51.76% 0.147 274.6)
XYZxyz(16.2744, 13.1647, 48.6875)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DBB #BBAF51
analogous
#5192BB #515DBB #7A51BB
triadic
#515DBB #BB515D #5DBB51
tetradic
#515DBB #BB5192 #BBAF51 #51BB7A
square
#515DBB #BB5192 #BBAF51 #51BB7A
split-complementary
#515DBB #BB7A51 #92BB51
monochromatic
#293069 #3A4495 #515DBB #7D86CC #A9AFDD

Accessibility & contrast

On white

5.78
#515DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#515DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DBB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DBB#FFFFFF#000000##FFFFFF
##515DBB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#127283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dbb;
/* rgb */ color: rgb(81, 93, 187);
/* oklch */ color: oklch(51.8% 0.147 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ad0',
    500: '#515dbb',
    950: '#000000',
  },
}
SCSS
$custom: #515dbb;
$custom-light: #8a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#515dbb",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 233.208,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.14676,
    "h": 274.6
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#515DBB
secondary
#CBC69D
accent
#C554D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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