#515DBF#515DBF

#515DBF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.152 H 274.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#515DBF
RGBrgb(81, 93, 191)
HSLhsl(233, 46%, 53%)
HSVhsv(233, 58%, 75%)
CMYKcmyk(57.6%, 51.3%, 0%, 25.1%)
CIE-LABlab(43.27, 24.63, -53.11)
CIE-LCHlch(43.27, 58.54, 294.88°)
OKLaboklab(52.04% 0.0122 -0.1519)
OKLCHoklch(52.04% 0.152 274.6)
XYZxyz(16.7086, 13.3384, 50.9742)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DBF #BFB351
analogous
#5194BF #515DBF #7C51BF
triadic
#515DBF #BF515D #5DBF51
tetradic
#515DBF #BF5194 #BFB351 #51BF7C
square
#515DBF #BF5194 #BFB351 #51BF7C
split-complementary
#515DBF #BF7C51 #94BF51
monochromatic
#28306D #39439A #515DBF #7E87CF #AAB0E0

Accessibility & contrast

On white

5.73
#515DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#515DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DBF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DBF#FFFFFF#000000##FFFFFF
##515DBF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#067385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dbf;
/* rgb */ color: rgb(81, 93, 191);
/* oklch */ color: oklch(52.0% 0.152 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad3',
    500: '#515dbf',
    950: '#000000',
  },
}
SCSS
$custom: #515dbf;
$custom-light: #8b8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#515dbf",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 233.455,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.1524,
    "h": 274.6
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#515DBF
secondary
#CEC89E
accent
#C752D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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