#5075DB#5075DB

#5075DB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.161 H 266.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5075DB
RGBrgb(80, 117, 219)
HSLhsl(224, 66%, 59%)
HSVhsv(224, 63%, 86%)
CMYKcmyk(63.5%, 46.6%, 0%, 14.1%)
CIE-LABlab(51.31, 18.93, -56.22)
CIE-LCHlch(51.31, 59.32, 288.61°)
OKLaboklab(58.7% -0.0098 -0.1608)
OKLCHoklch(58.7% 0.161 266.5)
XYZxyz(22.4513, 19.5405, 69.5926)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5075DB #DBB650
analogous
#50BADB #5075DB #7050DB
triadic
#5075DB #DB5075 #75DB50
tetradic
#5075DB #DB50BA #DBB650 #50DB70
square
#5075DB #DB50BA #DBB650 #50DB70
split-complementary
#5075DB #DB7050 #BADB50
monochromatic
#1E3D92 #2952C5 #5075DB #839DE5 #B6C5F0

Accessibility & contrast

On white

4.28
#5075DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5075DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5075DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5075DB#FFFFFF#000000##000000
##5075DB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5075db;
/* rgb */ color: rgb(80, 117, 219);
/* oklch */ color: oklch(58.7% 0.161 266.5);
Tailwind
colors: {
  custom: {
    50: '#8e9ce7',
    500: '#5075db',
    950: '#000000',
  },
}
SCSS
$custom: #5075db;
$custom-light: #8e9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5075db",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 224.029,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.16109,
    "h": 266.5
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#5075DB
secondary
#DFD0A8
accent
#BC3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5075DB

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

Preview Lab → · Contrast checker → · Palette generator →

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