#5179BF#5179BF

#5179BF is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.9% C 0.117 H 260.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5179BF
RGBrgb(81, 121, 191)
HSLhsl(218, 46%, 53%)
HSVhsv(218, 58%, 75%)
CMYKcmyk(57.6%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.90, 7.19, -40.93)
CIE-LCHlch(50.90, 41.56, 279.96°)
OKLaboklab(57.89% -0.0185 -0.1159)
OKLCHoklch(57.89% 0.117 260.9)
XYZxyz(19.6314, 19.1840, 51.9485)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179BF #BF9751
analogous
#51B0BF #5179BF #6051BF
triadic
#5179BF #BF5179 #79BF51
tetradic
#5179BF #BF51B0 #BF9751 #51BF60
square
#5179BF #BF51B0 #BF9751 #51BF60
split-complementary
#5179BF #BF6051 #B0BF51
monochromatic
#28416D #395C9A #5179BF #7E9BCF #AABEE0

Accessibility & contrast

On white

4.34
#5179BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5179BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179BF#FFFFFF#000000##000000
##5179BF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5179bf;
/* rgb */ color: rgb(81, 121, 191);
/* oklch */ color: oklch(57.9% 0.117 260.9);
Tailwind
colors: {
  custom: {
    50: '#8a9fd2',
    500: '#5179bf',
    950: '#000000',
  },
}
SCSS
$custom: #5179bf;
$custom-light: #8a9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5179bf",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 218.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.11735,
    "h": 260.9
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#5179BF
secondary
#CEBC9E
accent
#A652D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5179BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5179BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva