#5066AF#5066AF

#5066AF is a mid, moderate blue. Relative luminance 0.143; OKLCH L 52.8% C 0.118 H 269.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5066AF
RGBrgb(80, 102, 175)
HSLhsl(226, 37%, 50%)
HSVhsv(226, 54%, 69%)
CMYKcmyk(54.3%, 41.7%, 0%, 31.4%)
CIE-LABlab(44.66, 13.41, -41.55)
CIE-LCHlch(44.66, 43.66, 287.89°)
OKLaboklab(52.78% -0.0012 -0.1179)
OKLCHoklch(52.78% 0.118 269.4)
XYZxyz(15.7950, 14.3022, 42.4774)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5066AF #AF9950
analogous
#5096AF #5066AF #6950AF
triadic
#5066AF #AF5066 #66AF50
tetradic
#5066AF #AF5096 #AF9950 #50AF69
square
#5066AF #AF5096 #AF9950 #50AF69
split-complementary
#5066AF #AF6950 #96AF50
monochromatic
#2A355B #3D4E85 #5066AF #7A8BC2 #A4AFD5

Accessibility & contrast

On white

5.44
#5066AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5066AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5066AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5066AF#FFFFFF#000000##FFFFFF
##5066AF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#1F7682
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5066af;
/* rgb */ color: rgb(80, 102, 175);
/* oklch */ color: oklch(52.8% 0.118 269.4);
Tailwind
colors: {
  custom: {
    50: '#8891c7',
    500: '#5066af',
    950: '#000000',
  },
}
SCSS
$custom: #5066af;
$custom-light: #8891c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5066af",
  "rgb": {
    "r": 80,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 226.105,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.11789,
    "h": 269.4
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#5066AF
secondary
#C3B998
accent
#B35BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5066AF

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

Preview Lab → · Contrast checker → · Palette generator →

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