#515DDB#515DDB

#515DDB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.191 H 274.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#515DDB
RGBrgb(81, 93, 219)
HSLhsl(235, 66%, 59%)
HSVhsv(235, 63%, 86%)
CMYKcmyk(63%, 57.5%, 0%, 14.1%)
CIE-LABlab(45.21, 34.01, -66.08)
CIE-LCHlch(45.21, 74.32, 297.24°)
OKLaboklab(54.11% 0.0134 -0.19)
OKLCHoklch(54.11% 0.191 274)
XYZxyz(20.0896, 14.6908, 68.7810)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DDB #DBCF51
analogous
#51A2DB #515DDB #8A51DB
triadic
#515DDB #DB515D #5DDB51
tetradic
#515DDB #DB51A2 #DBCF51 #51DB8A
square
#515DDB #DB51A2 #DBCF51 #51DB8A
split-complementary
#515DDB #DB8A51 #A2DB51
monochromatic
#1E2993 #2937C6 #515DDB #848CE5 #B6BBF0

Accessibility & contrast

On white

5.33
#515DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#515DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DDB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DDB#FFFFFF#000000##FFFFFF
##515DDB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ddb;
/* rgb */ color: rgb(81, 93, 219);
/* oklch */ color: oklch(54.1% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#908ae7',
    500: '#515ddb',
    950: '#000000',
  },
}
SCSS
$custom: #515ddb;
$custom-light: #908ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#515ddb",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 234.783,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.19052,
    "h": 274
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#515DDB
secondary
#DFDAA9
accent
#DA3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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