#5064CA#5064CA

#5064CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.159 H 271.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5064CA
RGBrgb(80, 100, 202)
HSLhsl(230, 54%, 55%)
HSVhsv(230, 60%, 79%)
CMYKcmyk(60.4%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.75, 23.73, -55.48)
CIE-LCHlch(45.75, 60.34, 293.16°)
OKLaboklab(54.13% 0.0049 -0.1588)
OKLCHoklch(54.13% 0.159 271.8)
XYZxyz(18.5226, 15.0826, 57.8008)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5064CA #CAB650
analogous
#50A1CA #5064CA #7950CA
triadic
#5064CA #CA5064 #64CA50
tetradic
#5064CA #CA50A1 #CAB650 #50CA79
square
#5064CA #CA50A1 #CAB650 #50CA79
split-complementary
#5064CA #CA7950 #A1CA50
monochromatic
#25337A #3347A9 #5064CA #7F8ED8 #AEB7E6

Accessibility & contrast

On white

5.23
#5064CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5064CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5064CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5064CA#FFFFFF#000000##FFFFFF
##5064CA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5064ca;
/* rgb */ color: rgb(80, 100, 202);
/* oklch */ color: oklch(54.1% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#8c8fdb',
    500: '#5064ca',
    950: '#000000',
  },
}
SCSS
$custom: #5064ca;
$custom-light: #8c8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5064ca",
  "rgb": {
    "r": 80,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 230.164,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.1589,
    "h": 271.8
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#5064CA
secondary
#D4CCA1
accent
#C54BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5064CA

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

Preview Lab → · Contrast checker → · Palette generator →

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