#515DC3#515DC3

#515DC3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.158 H 274.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#515DC3
RGBrgb(81, 93, 195)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 58%, 76%)
CMYKcmyk(58.5%, 52.3%, 0%, 23.5%)
CIE-LABlab(43.53, 25.96, -55.01)
CIE-LCHlch(43.53, 60.82, 295.27°)
OKLaboklab(52.33% 0.0125 -0.1575)
OKLCHoklch(52.33% 0.158 274.5)
XYZxyz(17.1548, 13.5169, 53.3242)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DC3 #C3B751
analogous
#5196C3 #515DC3 #7E51C3
triadic
#515DC3 #C3515D #5DC351
tetradic
#515DC3 #C35196 #C3B751 #51C37E
square
#515DC3 #C35196 #C3B751 #51C37E
split-complementary
#515DC3 #C37E51 #96C351
monochromatic
#272F72 #3742A0 #515DC3 #7F87D3 #ACB2E2

Accessibility & contrast

On white

5.67
#515DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#515DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DC3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DC3#FFFFFF#000000##FFFFFF
##515DC31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515dc3;
/* rgb */ color: rgb(81, 93, 195);
/* oklch */ color: oklch(52.3% 0.158 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ad6',
    500: '#515dc3',
    950: '#000000',
  },
}
SCSS
$custom: #515dc3;
$custom-light: #8c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#515dc3",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 233.684,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.15798,
    "h": 274.5
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#515DC3
secondary
#D0CBA0
accent
#CA50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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