#5072CF#5072CF

#5072CF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.148 H 266.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5072CF
RGBrgb(80, 114, 207)
HSLhsl(224, 57%, 56%)
HSVhsv(224, 61%, 81%)
CMYKcmyk(61.4%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.79, 16.69, -51.85)
CIE-LCHlch(49.79, 54.47, 287.84°)
OKLaboklab(57.3% -0.0087 -0.148)
OKLCHoklch(57.3% 0.148 266.6)
XYZxyz(20.5842, 18.2433, 61.4559)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5072CF #CFAD50
analogous
#50B2CF #5072CF #6E50CF
triadic
#5072CF #CF5072 #72CF50
tetradic
#5072CF #CF50B2 #CFAD50 #50CF6E
square
#5072CF #CF50B2 #CFAD50 #50CF6E
split-complementary
#5072CF #CF6E50 #B2CF50
monochromatic
#233D81 #3153B1 #5072CF #8099DC #B0BFE9

Accessibility & contrast

On white

4.52
#5072CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5072CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5072CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5072CF#FFFFFF#000000##000000
##5072CF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD3
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5072cf;
/* rgb */ color: rgb(80, 114, 207);
/* oklch */ color: oklch(57.3% 0.148 266.6);
Tailwind
colors: {
  custom: {
    50: '#8c9ade',
    500: '#5072cf',
    950: '#000000',
  },
}
SCSS
$custom: #5072cf;
$custom-light: #8c9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5072cf",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 223.937,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.14824,
    "h": 266.6
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#5072CF
secondary
#D8CAA3
accent
#B748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5072CF

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

Preview Lab → · Contrast checker → · Palette generator →

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