#5F79BD#5F79BD

#5F79BD is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.6% C 0.109 H 267.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F79BD
RGBrgb(95, 121, 189)
HSLhsl(223, 42%, 56%)
HSVhsv(223, 50%, 74%)
CMYKcmyk(49.7%, 36%, 0%, 25.9%)
CIE-LABlab(51.59, 9.69, -38.65)
CIE-LCHlch(51.59, 39.84, 284.07°)
OKLaboklab(58.6% -0.0054 -0.109)
OKLCHoklch(58.6% 0.109 267.2)
XYZxyz(20.7390, 19.7804, 50.8594)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79BD #BDA35F
analogous
#5FA8BD #5F79BD #745FBD
triadic
#5F79BD #BD5F79 #79BD5F
tetradic
#5F79BD #BD5FA8 #BDA35F #5FBD74
square
#5F79BD #BD5FA8 #BDA35F #5FBD74
split-complementary
#5F79BD #BD745F #A8BD5F
monochromatic
#2F4272 #415B9E #5F79BD #8A9DCF #B6C2E1

Accessibility & contrast

On white

4.24
#5F79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79BD#FFFFFF#000000##000000
##5F79BD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FC0
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#378792
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f79bd;
/* rgb */ color: rgb(95, 121, 189);
/* oklch */ color: oklch(58.6% 0.109 267.2);
Tailwind
colors: {
  custom: {
    50: '#929fd1',
    500: '#5f79bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f79bd;
$custom-light: #929fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79bd",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 223.404,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.10911,
    "h": 267.2
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#5F79BD
secondary
#CFC5A8
accent
#AF56D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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