#515DBC#515DBC

#515DBC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.148 H 274.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#515DBC
RGBrgb(81, 93, 188)
HSLhsl(233, 44%, 53%)
HSVhsv(233, 57%, 74%)
CMYKcmyk(56.9%, 50.5%, 0%, 26.3%)
CIE-LABlab(43.07, 23.62, -51.68)
CIE-LCHlch(43.07, 56.82, 294.57°)
OKLaboklab(51.83% 0.0119 -0.1477)
OKLCHoklch(51.83% 0.148 274.6)
XYZxyz(16.3818, 13.2077, 49.2533)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DBC #BCB051
analogous
#5192BC #515DBC #7A51BC
triadic
#515DBC #BC515D #5DBC51
tetradic
#515DBC #BC5192 #BCB051 #51BC7A
square
#515DBC #BC5192 #BCB051 #51BC7A
split-complementary
#515DBC #BC7A51 #92BC51
monochromatic
#29306A #3A4496 #515DBC #7D86CD #A9AFDE

Accessibility & contrast

On white

5.77
#515DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#515DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DBC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DBC#FFFFFF#000000##FFFFFF
##515DBC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABF
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#107284
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dbc;
/* rgb */ color: rgb(81, 93, 188);
/* oklch */ color: oklch(51.8% 0.148 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad1',
    500: '#515dbc',
    950: '#000000',
  },
}
SCSS
$custom: #515dbc;
$custom-light: #8b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#515dbc",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 233.271,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.14817,
    "h": 274.6
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#515DBC
secondary
#CCC69D
accent
#C654D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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