#515FCB#515FCB

#515FCB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.166 H 273.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#515FCB
RGBrgb(81, 95, 203)
HSLhsl(233, 54%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(60.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.58, 27.39, -57.93)
CIE-LCHlch(44.58, 64.08, 295.31°)
OKLaboklab(53.28% 0.011 -0.1661)
OKLCHoklch(53.28% 0.166 273.8)
XYZxyz(18.2615, 14.2441, 58.2754)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FCB #CBBD51
analogous
#519CCB #515FCB #8051CB
triadic
#515FCB #CB515F #5FCB51
tetradic
#515FCB #CB519C #CBBD51 #51CB80
square
#515FCB #CB519C #CBBD51 #51CB80
split-complementary
#515FCB #CB8051 #9CCB51
monochromatic
#252F7C #3341AC #515FCB #808AD9 #AFB6E7

Accessibility & contrast

On white

5.46
#515FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#515FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FCB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FCB#FFFFFF#000000##FFFFFF
##515FCB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515fcb;
/* rgb */ color: rgb(81, 95, 203);
/* oklch */ color: oklch(53.3% 0.166 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8cdb',
    500: '#515fcb',
    950: '#000000',
  },
}
SCSS
$custom: #515fcb;
$custom-light: #8d8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#515fcb",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 233.115,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.16644,
    "h": 273.8
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#515FCB
secondary
#D5CFA3
accent
#CC4ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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