#5066DB#5066DB

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

Color values

HEX#5066DB
RGBrgb(80, 102, 219)
HSLhsl(231, 66%, 59%)
HSVhsv(231, 63%, 86%)
CMYKcmyk(63.5%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.39, 28.26, -62.54)
CIE-LCHlch(47.39, 68.63, 294.32°)
OKLaboklab(55.73% 0.0043 -0.1796)
OKLCHoklch(55.73% 0.18 271.4)
XYZxyz(20.8415, 16.3209, 69.0560)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5066DB #DBC550
analogous
#50ABDB #5066DB #7F50DB
triadic
#5066DB #DB5066 #66DB50
tetradic
#5066DB #DB50AB #DBC550 #50DB7F
square
#5066DB #DB50AB #DBC550 #50DB7F
split-complementary
#5066DB #DB7F50 #ABDB50
monochromatic
#1E3192 #2941C5 #5066DB #8392E5 #B6BFF0

Accessibility & contrast

On white

4.92
#5066DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5066DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5066DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5066DB#FFFFFF#000000##FFFFFF
##5066DB1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5066db;
/* rgb */ color: rgb(80, 102, 219);
/* oklch */ color: oklch(55.7% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f91e7',
    500: '#5066db',
    950: '#000000',
  },
}
SCSS
$custom: #5066db;
$custom-light: #8f91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5066db",
  "rgb": {
    "r": 80,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 230.504,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.17962,
    "h": 271.4
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#5066DB
secondary
#DFD6A8
accent
#CE3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5066DB

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

Preview Lab → · Contrast checker → · Palette generator →

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