#5F77BB#5F77BB

#5F77BB is a mid, moderate blue. Relative luminance 0.192; OKLCH L 58.1% C 0.109 H 268.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F77BB
RGBrgb(95, 119, 187)
HSLhsl(224, 40%, 55%)
HSVhsv(224, 49%, 73%)
CMYKcmyk(49.2%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.94, 10.28, -38.53)
CIE-LCHlch(50.94, 39.87, 284.93°)
OKLaboklab(58.06% -0.0034 -0.1086)
OKLCHoklch(58.06% 0.109 268.2)
XYZxyz(20.2829, 19.2131, 49.6438)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77BB #BBA35F
analogous
#5FA5BB #5F77BB #755FBB
triadic
#5F77BB #BB5F77 #77BB5F
tetradic
#5F77BB #BB5FA5 #BBA35F #5FBB75
square
#5F77BB #BB5FA5 #BBA35F #5FBB75
split-complementary
#5F77BB #BB755F #A5BB5F
monochromatic
#304070 #42599B #5F77BB #8A9CCD #B5C0E0

Accessibility & contrast

On white

4.34
#5F77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5F77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77BB#FFFFFF#000000##000000
##5F77BB1.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)
#5D7EBE
Deuteranopia (green-blind)
#5376B9
Tritanopia (blue-blind)
#398590
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f77bb;
/* rgb */ color: rgb(95, 119, 187);
/* oklch */ color: oklch(58.1% 0.109 268.2);
Tailwind
colors: {
  custom: {
    50: '#919ed0',
    500: '#5f77bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f77bb;
$custom-light: #919ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77bb",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 224.348,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.10869,
    "h": 268.2
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#5F77BB
secondary
#CEC4A8
accent
#B158D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F77BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5F77BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva