#5065CD#5065CD

#5065CD is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.162 H 271.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5065CD
RGBrgb(80, 101, 205)
HSLhsl(230, 56%, 56%)
HSVhsv(230, 61%, 80%)
CMYKcmyk(61%, 50.7%, 0%, 19.6%)
CIE-LABlab(46.20, 24.12, -56.47)
CIE-LCHlch(46.20, 61.41, 293.13°)
OKLaboklab(54.53% 0.0042 -0.1617)
OKLCHoklch(54.53% 0.162 271.5)
XYZxyz(18.9777, 15.4190, 59.7219)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5065CD #CDB850
analogous
#50A3CD #5065CD #7950CD
triadic
#5065CD #CD5065 #65CD50
tetradic
#5065CD #CD50A3 #CDB850 #50CD79
square
#5065CD #CD50A3 #CDB850 #50CD79
split-complementary
#5065CD #CD7950 #A3CD50
monochromatic
#24337E #3247AE #5065CD #808FDB #AFB9E8

Accessibility & contrast

On white

5.14
#5065CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5065CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5065CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5065CD#FFFFFF#000000##FFFFFF
##5065CD1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5065cd;
/* rgb */ color: rgb(80, 101, 205);
/* oklch */ color: oklch(54.5% 0.162 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c90dd',
    500: '#5065cd',
    950: '#000000',
  },
}
SCSS
$custom: #5065cd;
$custom-light: #8c90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5065cd",
  "rgb": {
    "r": 80,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 229.92,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.16177,
    "h": 271.5
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#5065CD
secondary
#D6CEA2
accent
#C649DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5065CD

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

Preview Lab → · Contrast checker → · Palette generator →

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