#5065CC#5065CC

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

Color values

HEX#5065CC
RGBrgb(80, 101, 204)
HSLhsl(230, 55%, 56%)
HSVhsv(230, 61%, 80%)
CMYKcmyk(60.8%, 50.5%, 0%, 20%)
CIE-LABlab(46.14, 23.78, -56.00)
CIE-LCHlch(46.14, 60.84, 293.01°)
OKLaboklab(54.46% 0.0041 -0.1603)
OKLCHoklch(54.46% 0.16 271.5)
XYZxyz(18.8574, 15.3709, 59.0882)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5065CC #CCB750
analogous
#50A3CC #5065CC #7950CC
triadic
#5065CC #CC5065 #65CC50
tetradic
#5065CC #CC50A3 #CCB750 #50CC79
square
#5065CC #CC50A3 #CCB750 #50CC79
split-complementary
#5065CC #CC7950 #A3CC50
monochromatic
#24337D #3247AD #5065CC #7F8FDA #AFB8E8

Accessibility & contrast

On white

5.15
#5065CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5065CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5065CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5065CC#FFFFFF#000000##FFFFFF
##5065CC1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#0C68CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5065cc;
/* rgb */ color: rgb(80, 101, 204);
/* oklch */ color: oklch(54.5% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c90dc',
    500: '#5065cc',
    950: '#000000',
  },
}
SCSS
$custom: #5065cc;
$custom-light: #8c90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5065cc",
  "rgb": {
    "r": 80,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 229.839,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.16039,
    "h": 271.5
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#5065CC
secondary
#D6CDA2
accent
#C54ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5065CC

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

Preview Lab → · Contrast checker → · Palette generator →

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