#5064DB#5064DB

#5064DB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.182 H 271.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5064DB
RGBrgb(80, 100, 219)
HSLhsl(231, 66%, 59%)
HSVhsv(231, 63%, 86%)
CMYKcmyk(63.5%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.89, 29.51, -63.36)
CIE-LCHlch(46.89, 69.89, 294.97°)
OKLaboklab(55.35% 0.0061 -0.182)
OKLCHoklch(55.35% 0.182 271.9)
XYZxyz(20.6473, 15.9325, 68.9913)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5064DB #DBC750
analogous
#50A9DB #5064DB #8150DB
triadic
#5064DB #DB5064 #64DB50
tetradic
#5064DB #DB50A9 #DBC750 #50DB81
square
#5064DB #DB50A9 #DBC750 #50DB81
split-complementary
#5064DB #DB8150 #A9DB50
monochromatic
#1E2F92 #293FC5 #5064DB #8391E5 #B6BEF0

Accessibility & contrast

On white

5.02
#5064DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5064DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5064DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5064DB#FFFFFF#000000##FFFFFF
##5064DB1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0476DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5064db;
/* rgb */ color: rgb(80, 100, 219);
/* oklch */ color: oklch(55.3% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#8f8fe7',
    500: '#5064db',
    950: '#000000',
  },
}
SCSS
$custom: #5064db;
$custom-light: #8f8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5064db",
  "rgb": {
    "r": 80,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 231.367,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.1821,
    "h": 271.9
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#5064DB
secondary
#DFD7A8
accent
#D03FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5064DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5064DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva