#5065DD#5065DD

#5065DD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.184 H 271.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5065DD
RGBrgb(80, 101, 221)
HSLhsl(231, 67%, 59%)
HSVhsv(231, 64%, 87%)
CMYKcmyk(63.8%, 54.3%, 0%, 13.3%)
CIE-LABlab(47.28, 29.57, -63.86)
CIE-LCHlch(47.28, 70.37, 294.85°)
OKLaboklab(55.68% 0.0053 -0.1835)
OKLCHoklch(55.68% 0.184 271.6)
XYZxyz(21.0087, 16.2314, 70.4184)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5065DD #DDC850
analogous
#50ACDD #5065DD #8250DD
triadic
#5065DD #DD5065 #65DD50
tetradic
#5065DD #DD50AC #DDC850 #50DD82
square
#5065DD #DD50AC #DDC850 #50DD82
split-complementary
#5065DD #DD8250 #ACDD50
monochromatic
#1D2F96 #273FC9 #5065DD #8392E7 #B6BFF1

Accessibility & contrast

On white

4.95
#5065DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5065DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5065DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5065DD#FFFFFF#000000##FFFFFF
##5065DD1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0477E1
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5065dd;
/* rgb */ color: rgb(80, 101, 221);
/* oklch */ color: oklch(55.7% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#8f90e8',
    500: '#5065dd',
    950: '#000000',
  },
}
SCSS
$custom: #5065dd;
$custom-light: #8f90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5065dd",
  "rgb": {
    "r": 80,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 231.064,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.18355,
    "h": 271.6
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#5065DD
secondary
#E0D8A9
accent
#D13DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5065DD

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

Preview Lab → · Contrast checker → · Palette generator →

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