#5F76BD#5F76BD

#5F76BD is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.0% C 0.113 H 269.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F76BD
RGBrgb(95, 118, 189)
HSLhsl(225, 42%, 56%)
HSVhsv(225, 50%, 74%)
CMYKcmyk(49.7%, 37.6%, 0%, 25.9%)
CIE-LABlab(50.76, 11.51, -39.95)
CIE-LCHlch(50.76, 41.58, 286.07°)
OKLaboklab(57.96% -0.0018 -0.1128)
OKLCHoklch(57.96% 0.113 269.1)
XYZxyz(20.3801, 19.0626, 50.7398)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76BD #BDA65F
analogous
#5FA5BD #5F76BD #775FBD
triadic
#5F76BD #BD5F76 #76BD5F
tetradic
#5F76BD #BD5FA5 #BDA65F #5FBD77
square
#5F76BD #BD5FA5 #BDA65F #5FBD77
split-complementary
#5F76BD #BD775F #A5BD5F
monochromatic
#2F4072 #41589E #5F76BD #8A9BCF #B6C0E1

Accessibility & contrast

On white

4.36
#5F76BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5F76BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76BD#FFFFFF#000000##000000
##5F76BD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#378590
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f76bd;
/* rgb */ color: rgb(95, 118, 189);
/* oklch */ color: oklch(58.0% 0.113 269.1);
Tailwind
colors: {
  custom: {
    50: '#929dd1',
    500: '#5f76bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f76bd;
$custom-light: #929dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76bd",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 225.319,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.11281,
    "h": 269.1
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

primary
#5F76BD
secondary
#CFC6A8
accent
#B356D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F76BD

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

Preview Lab → · Contrast checker → · Palette generator →

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