#515ACB#515ACB

#515ACB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.173 H 275.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#515ACB
RGBrgb(81, 90, 203)
HSLhsl(236, 54%, 56%)
HSVhsv(236, 60%, 80%)
CMYKcmyk(60.1%, 55.7%, 0%, 20.4%)
CIE-LABlab(43.32, 30.52, -59.97)
CIE-LCHlch(43.32, 67.29, 296.97°)
OKLaboklab(52.34% 0.0159 -0.1721)
OKLCHoklch(52.34% 0.173 275.3)
XYZxyz(17.8255, 13.3721, 58.1301)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ACB #CBC251
analogous
#5197CB #515ACB #8551CB
triadic
#515ACB #CB515A #5ACB51
tetradic
#515ACB #CB5197 #CBC251 #51CB85
square
#515ACB #CB5197 #CBC251 #51CB85
split-complementary
#515ACB #CB8551 #97CB51
monochromatic
#252C7C #333CAC #515ACB #8087D9 #AFB3E7

Accessibility & contrast

On white

5.71
#515ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515ACB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ACB#FFFFFF#000000##FFFFFF
##515ACB1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515acb;
/* rgb */ color: rgb(81, 90, 203);
/* oklch */ color: oklch(52.3% 0.173 275.3);
Tailwind
colors: {
  custom: {
    50: '#8d88dc',
    500: '#515acb',
    950: '#000000',
  },
}
SCSS
$custom: #515acb;
$custom-light: #8d88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#515acb",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 235.574,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.17286,
    "h": 275.3
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#515ACB
secondary
#D5D2A3
accent
#D34ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #515ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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