#5F79BB#5F79BB

#5F79BB is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.5% C 0.106 H 266.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F79BB
RGBrgb(95, 121, 187)
HSLhsl(223, 40%, 55%)
HSVhsv(223, 49%, 73%)
CMYKcmyk(49.2%, 35.3%, 0%, 26.7%)
CIE-LABlab(51.49, 9.06, -37.65)
CIE-LCHlch(51.49, 38.73, 283.53°)
OKLaboklab(58.49% -0.0059 -0.1061)
OKLCHoklch(58.49% 0.106 266.8)
XYZxyz(20.5234, 19.6942, 49.7240)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79BB #BBA15F
analogous
#5FA7BB #5F79BB #735FBB
triadic
#5F79BB #BB5F79 #79BB5F
tetradic
#5F79BB #BB5FA7 #BBA15F #5FBB73
square
#5F79BB #BB5FA7 #BBA15F #5FBB73
split-complementary
#5F79BB #BB735F #A7BB5F
monochromatic
#304270 #425B9B #5F79BB #8A9DCD #B5C1E0

Accessibility & contrast

On white

4.25
#5F79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5F79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79BB#FFFFFF#000000##000000
##5F79BB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#388791
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f79bb;
/* rgb */ color: rgb(95, 121, 187);
/* oklch */ color: oklch(58.5% 0.106 266.8);
Tailwind
colors: {
  custom: {
    50: '#919fd0',
    500: '#5f79bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f79bb;
$custom-light: #919fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79bb",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 223.043,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.10625,
    "h": 266.8
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#5F79BB
secondary
#CEC3A8
accent
#AE58D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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