#5068DB#5068DB

#5068DB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.177 H 270.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5068DB
RGBrgb(80, 104, 219)
HSLhsl(230, 66%, 59%)
HSVhsv(230, 63%, 86%)
CMYKcmyk(63.5%, 52.5%, 0%, 14.1%)
CIE-LABlab(47.90, 27.02, -61.71)
CIE-LCHlch(47.90, 67.37, 293.65°)
OKLaboklab(56.11% 0.0024 -0.1771)
OKLCHoklch(56.11% 0.177 270.8)
XYZxyz(21.0405, 16.7187, 69.1223)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5068DB #DBC350
analogous
#50ADDB #5068DB #7D50DB
triadic
#5068DB #DB5068 #68DB50
tetradic
#5068DB #DB50AD #DBC350 #50DB7D
square
#5068DB #DB50AD #DBC350 #50DB7D
split-complementary
#5068DB #DB7D50 #ADDB50
monochromatic
#1E3292 #2944C5 #5068DB #8394E5 #B6C0F0

Accessibility & contrast

On white

4.83
#5068DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5068DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5068DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5068DB#FFFFFF#000000##FFFFFF
##5068DB1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5068db;
/* rgb */ color: rgb(80, 104, 219);
/* oklch */ color: oklch(56.1% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#8f92e7',
    500: '#5068db',
    950: '#000000',
  },
}
SCSS
$custom: #5068db;
$custom-light: #8f92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5068db",
  "rgb": {
    "r": 80,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 229.64,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.17713,
    "h": 270.8
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#5068DB
secondary
#DFD5A8
accent
#CB3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5068DB

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

Preview Lab → · Contrast checker → · Palette generator →

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