#5177DF#5177DF

#5177DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.164 H 266.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5177DF
RGBrgb(81, 119, 223)
HSLhsl(224, 69%, 60%)
HSVhsv(224, 64%, 87%)
CMYKcmyk(63.7%, 46.6%, 0%, 12.5%)
CIE-LABlab(52.14, 19.24, -57.15)
CIE-LCHlch(52.14, 60.30, 288.61°)
OKLaboklab(59.42% -0.0103 -0.1635)
OKLCHoklch(59.42% 0.164 266.4)
XYZxyz(23.3049, 20.2686, 72.4818)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177DF #DFB951
analogous
#51BEDF #5177DF #7251DF
triadic
#5177DF #DF5177 #77DF51
tetradic
#5177DF #DF51BE #DFB951 #51DF72
square
#5177DF #DF51BE #DFB951 #51DF72
split-complementary
#5177DF #DF7251 #BEDF51
monochromatic
#1C3E99 #2653CD #5177DF #859FE9 #B8C8F2

Accessibility & contrast

On white

4.15
#5177DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5177DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177DF#FFFFFF#000000##000000
##5177DF1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5177df;
/* rgb */ color: rgb(81, 119, 223);
/* oklch */ color: oklch(59.4% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#8f9de9',
    500: '#5177df',
    950: '#000000',
  },
}
SCSS
$custom: #5177df;
$custom-light: #8f9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5177df",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 223.944,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.16379,
    "h": 266.4
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#5177DF
secondary
#E1D3AA
accent
#BD3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5177DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5177DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva