#515CDB#515CDB

#515CDB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.192 H 274.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#515CDB
RGBrgb(81, 92, 219)
HSLhsl(235, 66%, 59%)
HSVhsv(235, 63%, 86%)
CMYKcmyk(63%, 58%, 0%, 14.1%)
CIE-LABlab(44.96, 34.63, -66.47)
CIE-LCHlch(44.96, 74.95, 297.52°)
OKLaboklab(53.93% 0.0142 -0.1912)
OKLCHoklch(53.93% 0.192 274.3)
XYZxyz(20.0024, 14.5164, 68.7520)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CDB #DBD051
analogous
#51A1DB #515CDB #8B51DB
triadic
#515CDB #DB515C #5CDB51
tetradic
#515CDB #DB51A1 #DBD051 #51DB8B
square
#515CDB #DB51A1 #DBD051 #51DB8B
split-complementary
#515CDB #DB8B51 #A1DB51
monochromatic
#1E2893 #2935C6 #515CDB #848CE5 #B6BBF0

Accessibility & contrast

On white

5.38
#515CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#515CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CDB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CDB#FFFFFF#000000##FFFFFF
##515CDB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515cdb;
/* rgb */ color: rgb(81, 92, 219);
/* oklch */ color: oklch(53.9% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#908ae7',
    500: '#515cdb',
    950: '#000000',
  },
}
SCSS
$custom: #515cdb;
$custom-light: #908ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#515cdb",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 235.217,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.19175,
    "h": 274.3
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#515CDB
secondary
#DFDBA9
accent
#DB3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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