#5084CF#5084CF

#5084CF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.2% C 0.128 H 257.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5084CF
RGBrgb(80, 132, 207)
HSLhsl(215, 57%, 56%)
HSVhsv(215, 61%, 81%)
CMYKcmyk(61.4%, 36.2%, 0%, 18.8%)
CIE-LABlab(54.77, 5.70, -43.93)
CIE-LCHlch(54.77, 44.29, 277.39°)
OKLaboklab(61.15% -0.0274 -0.1245)
OKLCHoklch(61.15% 0.128 257.6)
XYZxyz(22.8180, 22.7109, 62.2005)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5084CF #CF9B50
analogous
#50C4CF #5084CF #5C50CF
triadic
#5084CF #CF5084 #84CF50
tetradic
#5084CF #CF50C4 #CF9B50 #50CF5C
square
#5084CF #CF50C4 #CF9B50 #50CF5C
split-complementary
#5084CF #CF5C50 #C4CF50
monochromatic
#234A81 #3165B1 #5084CF #80A6DC #B0C8E9

Accessibility & contrast

On white

3.79
#5084CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5084CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5084CF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5084CF#FFFFFF#000000##000000
##5084CF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648AD2
Deuteranopia (green-blind)
#537ECD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5084cf;
/* rgb */ color: rgb(80, 132, 207);
/* oklch */ color: oklch(61.2% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ca7de',
    500: '#5084cf',
    950: '#000000',
  },
}
SCSS
$custom: #5084cf;
$custom-light: #8ca7de;
$custom-dark: #000000;
JSON
{
  "hex": "#5084cf",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 215.433,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.12751,
    "h": 257.6
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#5084CF
secondary
#D8C2A3
accent
#A248E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5084CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5084CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva