#5059CD#5059CD

#5059CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.177 H 275.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5059CD
RGBrgb(80, 89, 205)
HSLhsl(236, 56%, 56%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.15, 31.63, -61.41)
CIE-LCHlch(43.15, 69.08, 297.26°)
OKLaboklab(52.24% 0.0157 -0.1764)
OKLCHoklch(52.24% 0.177 275.1)
XYZxyz(17.8965, 13.2566, 59.3615)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5059CD #CDC450
analogous
#5097CD #5059CD #8550CD
triadic
#5059CD #CD5059 #59CD50
tetradic
#5059CD #CD5097 #CDC450 #50CD85
square
#5059CD #CD5097 #CDC450 #50CD85
split-complementary
#5059CD #CD8550 #97CD50
monochromatic
#242B7E #323BAE #5059CD #8086DB #AFB3E8

Accessibility & contrast

On white

5.75
#5059CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5059CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5059CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5059CD#FFFFFF#000000##FFFFFF
##5059CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5059cd;
/* rgb */ color: rgb(80, 89, 205);
/* oklch */ color: oklch(52.2% 0.177 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d87dd',
    500: '#5059cd',
    950: '#000000',
  },
}
SCSS
$custom: #5059cd;
$custom-light: #8d87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5059cd",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 235.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.17708,
    "h": 275.1
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#5059CD
secondary
#D6D3A2
accent
#D449DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5059CD

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

Preview Lab → · Contrast checker → · Palette generator →

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