#5066DA#5066DA

#5066DA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.178 H 271.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5066DA
RGBrgb(80, 102, 218)
HSLhsl(230, 65%, 58%)
HSVhsv(230, 63%, 85%)
CMYKcmyk(63.3%, 53.2%, 0%, 14.5%)
CIE-LABlab(47.32, 27.92, -62.08)
CIE-LCHlch(47.32, 68.07, 294.22°)
OKLaboklab(55.65% 0.0042 -0.1782)
OKLCHoklch(55.65% 0.178 271.4)
XYZxyz(20.7103, 16.2684, 68.3648)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5066DA #DAC450
analogous
#50ABDA #5066DA #7F50DA
triadic
#5066DA #DA5066 #66DA50
tetradic
#5066DA #DA50AB #DAC450 #50DA7F
square
#5066DA #DA50AB #DAC450 #50DA7F
split-complementary
#5066DA #DA7F50 #ABDA50
monochromatic
#1F3191 #2942C3 #5066DA #8392E5 #B5BEEF

Accessibility & contrast

On white

4.94
#5066DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5066DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5066DA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5066DA#FFFFFF#000000##FFFFFF
##5066DA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1777DE
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5066da;
/* rgb */ color: rgb(80, 102, 218);
/* oklch */ color: oklch(55.7% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f91e6',
    500: '#5066da',
    950: '#000000',
  },
}
SCSS
$custom: #5066da;
$custom-light: #8f91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5066da",
  "rgb": {
    "r": 80,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 230.435,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.17827,
    "h": 271.4
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#5066DA
secondary
#DED6A8
accent
#CD40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5066DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5066DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva