#5065DB#5065DB

#5065DB is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.181 H 271.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5065DB
RGBrgb(80, 101, 219)
HSLhsl(231, 66%, 59%)
HSVhsv(231, 63%, 86%)
CMYKcmyk(63.5%, 53.9%, 0%, 14.1%)
CIE-LABlab(47.14, 28.89, -62.95)
CIE-LCHlch(47.14, 69.26, 294.65°)
OKLaboklab(55.54% 0.0052 -0.1808)
OKLCHoklch(55.54% 0.181 271.6)
XYZxyz(20.7438, 16.1255, 69.0235)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5065DB #DBC650
analogous
#50AADB #5065DB #8050DB
triadic
#5065DB #DB5065 #65DB50
tetradic
#5065DB #DB50AA #DBC650 #50DB80
square
#5065DB #DB50AA #DBC650 #50DB80
split-complementary
#5065DB #DB8050 #AADB50
monochromatic
#1E3092 #2940C5 #5065DB #8392E5 #B6BEF0

Accessibility & contrast

On white

4.97
#5065DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5065DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5065DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5065DB#FFFFFF#000000##FFFFFF
##5065DB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5065db;
/* rgb */ color: rgb(80, 101, 219);
/* oklch */ color: oklch(55.5% 0.181 271.6);
Tailwind
colors: {
  custom: {
    50: '#8f90e7',
    500: '#5065db',
    950: '#000000',
  },
}
SCSS
$custom: #5065db;
$custom-light: #8f90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5065db",
  "rgb": {
    "r": 80,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 230.935,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55535,
    "c": 0.18086,
    "h": 271.6
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5065DB

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

Preview Lab → · Contrast checker → · Palette generator →

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