#515FA2#515FA2

#515FA2 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.6% C 0.108 H 273.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#515FA2
RGBrgb(81, 95, 162)
HSLhsl(230, 33%, 48%)
HSVhsv(230, 50%, 64%)
CMYKcmyk(50%, 41.4%, 0%, 36.5%)
CIE-LABlab(42.06, 13.81, -38.00)
CIE-LCHlch(42.06, 40.44, 289.98°)
OKLaboklab(50.56% 0.0058 -0.1075)
OKLCHoklch(50.56% 0.108 273.1)
XYZxyz(14.0051, 12.5415, 35.8582)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FA2 #A29451
analogous
#5187A2 #515FA2 #6C51A2
triadic
#515FA2 #A2515F #5FA251
tetradic
#515FA2 #A25187 #A29451 #51A26C
square
#515FA2 #A25187 #A29451 #51A26C
split-complementary
#515FA2 #A26C51 #87A251
monochromatic
#282F50 #3D4779 #515FA2 #7682BA #9FA7CF

Accessibility & contrast

On white

5.99
#515FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#515FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FA2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FA2#FFFFFF#000000##FFFFFF
##515FA21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#306D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515fa2;
/* rgb */ color: rgb(81, 95, 162);
/* oklch */ color: oklch(50.6% 0.108 273.1);
Tailwind
colors: {
  custom: {
    50: '#878cbe',
    500: '#515fa2',
    950: '#000000',
  },
}
SCSS
$custom: #515fa2;
$custom-light: #878cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#515fa2",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 229.63,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.1077,
    "h": 273.1
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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