#5F76BB#5F76BB

#5F76BB is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.8% C 0.110 H 268.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F76BB
RGBrgb(95, 118, 187)
HSLhsl(225, 40%, 55%)
HSVhsv(225, 49%, 73%)
CMYKcmyk(49.2%, 36.9%, 0%, 26.7%)
CIE-LABlab(50.66, 10.88, -38.96)
CIE-LCHlch(50.66, 40.45, 285.61°)
OKLaboklab(57.85% -0.0022 -0.1099)
OKLCHoklch(57.85% 0.11 268.8)
XYZxyz(20.1645, 18.9763, 49.6043)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76BB #BBA45F
analogous
#5FA4BB #5F76BB #765FBB
triadic
#5F76BB #BB5F76 #76BB5F
tetradic
#5F76BB #BB5FA4 #BBA45F #5FBB76
square
#5F76BB #BB5FA4 #BBA45F #5FBB76
split-complementary
#5F76BB #BB765F #A4BB5F
monochromatic
#304070 #42589B #5F76BB #8A9BCD #B5C0E0

Accessibility & contrast

On white

4.38
#5F76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5F76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76BB#FFFFFF#000000##000000
##5F76BB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#398590
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f76bb;
/* rgb */ color: rgb(95, 118, 187);
/* oklch */ color: oklch(57.8% 0.110 268.8);
Tailwind
colors: {
  custom: {
    50: '#919dd0',
    500: '#5f76bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f76bb;
$custom-light: #919dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76bb",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 225,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.10993,
    "h": 268.8
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#5F76BB
secondary
#CEC5A8
accent
#B258D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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