#515EA2#515EA2

#515EA2 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.109 H 273.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#515EA2
RGBrgb(81, 94, 162)
HSLhsl(230, 33%, 48%)
HSVhsv(230, 50%, 64%)
CMYKcmyk(50%, 42%, 0%, 36.5%)
CIE-LABlab(41.79, 14.45, -38.44)
CIE-LCHlch(41.79, 41.07, 290.60°)
OKLaboklab(50.35% 0.007 -0.1088)
OKLCHoklch(50.35% 0.109 273.7)
XYZxyz(13.9156, 12.3625, 35.8284)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EA2 #A29551
analogous
#5187A2 #515EA2 #6C51A2
triadic
#515EA2 #A2515E #5EA251
tetradic
#515EA2 #A25187 #A29551 #51A26C
square
#515EA2 #A25187 #A29551 #51A26C
split-complementary
#515EA2 #A26C51 #87A251
monochromatic
#282F50 #3D4679 #515EA2 #7681BA #9FA6CF

Accessibility & contrast

On white

6.05
#515EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#515EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EA2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EA2#FFFFFF#000000##FFFFFF
##515EA21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#306C78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515ea2;
/* rgb */ color: rgb(81, 94, 162);
/* oklch */ color: oklch(50.4% 0.109 273.7);
Tailwind
colors: {
  custom: {
    50: '#878bbe',
    500: '#515ea2',
    950: '#000000',
  },
}
SCSS
$custom: #515ea2;
$custom-light: #878bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#515ea2",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 230.37,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.10908,
    "h": 273.7
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#515EA2
secondary
#BCB593
accent
#B85EC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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