#5072CD#5072CD

#5072CD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.145 H 266.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5072CD
RGBrgb(80, 114, 205)
HSLhsl(224, 56%, 56%)
HSVhsv(224, 61%, 80%)
CMYKcmyk(61%, 44.4%, 0%, 19.6%)
CIE-LABlab(49.67, 16.00, -50.90)
CIE-LCHlch(49.67, 53.36, 287.45°)
OKLaboklab(57.18% -0.009 -0.1452)
OKLCHoklch(57.18% 0.145 266.5)
XYZxyz(20.3413, 18.1461, 60.1764)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5072CD #CDAB50
analogous
#50B0CD #5072CD #6C50CD
triadic
#5072CD #CD5072 #72CD50
tetradic
#5072CD #CD50B0 #CDAB50 #50CD6C
square
#5072CD #CD50B0 #CDAB50 #50CD6C
split-complementary
#5072CD #CD6C50 #B0CD50
monochromatic
#243D7E #3254AE #5072CD #8098DB #AFBFE8

Accessibility & contrast

On white

4.54
#5072CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5072CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5072CD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5072CD#FFFFFF#000000##000000
##5072CD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5072cd;
/* rgb */ color: rgb(80, 114, 205);
/* oklch */ color: oklch(57.2% 0.145 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c9add',
    500: '#5072cd',
    950: '#000000',
  },
}
SCSS
$custom: #5072cd;
$custom-light: #8c9add;
$custom-dark: #000000;
JSON
{
  "hex": "#5072cd",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 223.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.14547,
    "h": 266.5
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#5072CD
secondary
#D6C8A2
accent
#B649DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5072CD

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

Preview Lab → · Contrast checker → · Palette generator →

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