#5062DB#5062DB

#5062DB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.185 H 272.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5062DB
RGBrgb(80, 98, 219)
HSLhsl(232, 66%, 59%)
HSVhsv(232, 63%, 86%)
CMYKcmyk(63.5%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.38, 30.75, -64.17)
CIE-LCHlch(46.38, 71.16, 295.61°)
OKLaboklab(54.97% 0.0079 -0.1844)
OKLCHoklch(54.97% 0.185 272.4)
XYZxyz(20.4579, 15.5535, 68.9281)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5062DB #DBC950
analogous
#50A7DB #5062DB #8350DB
triadic
#5062DB #DB5062 #62DB50
tetradic
#5062DB #DB50A7 #DBC950 #50DB83
square
#5062DB #DB50A7 #DBC950 #50DB83
split-complementary
#5062DB #DB8350 #A7DB50
monochromatic
#1E2D92 #293DC5 #5062DB #8390E5 #B6BDF0

Accessibility & contrast

On white

5.11
#5062DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5062DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5062DB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5062DB#FFFFFF#000000##FFFFFF
##5062DB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5062db;
/* rgb */ color: rgb(80, 98, 219);
/* oklch */ color: oklch(55.0% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#8f8ee7',
    500: '#5062db',
    950: '#000000',
  },
}
SCSS
$custom: #5062db;
$custom-light: #8f8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5062db",
  "rgb": {
    "r": 80,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 232.23,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.18459,
    "h": 272.4
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#5062DB
secondary
#DFD8A8
accent
#D33FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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