#515DB9#515DB9

#515DB9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.144 H 274.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#515DB9
RGBrgb(81, 93, 185)
HSLhsl(233, 43%, 52%)
HSVhsv(233, 56%, 73%)
CMYKcmyk(56.2%, 49.7%, 0%, 27.5%)
CIE-LABlab(42.88, 22.63, -50.23)
CIE-LCHlch(42.88, 55.09, 294.25°)
OKLaboklab(51.63% 0.0116 -0.1434)
OKLCHoklch(51.63% 0.144 274.6)
XYZxyz(16.0618, 13.0797, 47.5678)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB9 #B9AD51
analogous
#5191B9 #515DB9 #7951B9
triadic
#515DB9 #B9515D #5DB951
tetradic
#515DB9 #B95191 #B9AD51 #51B979
square
#515DB9 #B95191 #B9AD51 #51B979
split-complementary
#515DB9 #B97951 #91B951
monochromatic
#293066 #3B4592 #515DB9 #7D86CB #A8AEDC

Accessibility & contrast

On white

5.81
#515DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#515DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB9#FFFFFF#000000##FFFFFF
##515DB91.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABC
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#167282
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515db9;
/* rgb */ color: rgb(81, 93, 185);
/* oklch */ color: oklch(51.6% 0.144 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a8acf',
    500: '#515db9',
    950: '#000000',
  },
}
SCSS
$custom: #515db9;
$custom-light: #8a8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#515db9",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 233.077,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.14392,
    "h": 274.6
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#515DB9
secondary
#CAC49C
accent
#C455D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #515DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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