#5F679D#5F679D

#5F679D is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.0% C 0.085 H 276.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F679D
RGBrgb(95, 103, 157)
HSLhsl(232, 25%, 49%)
HSVhsv(232, 39%, 62%)
CMYKcmyk(39.5%, 34.4%, 0%, 38.4%)
CIE-LABlab(45.04, 10.99, -30.29)
CIE-LCHlch(45.04, 32.22, 289.94°)
OKLaboklab(53.02% 0.0099 -0.0848)
OKLCHoklch(53.02% 0.085 276.6)
XYZxyz(15.6536, 14.5671, 33.8787)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F679D #9D955F
analogous
#5F869D #5F679D #765F9D
triadic
#5F679D #9D5F67 #679D5F
tetradic
#5F679D #9D5F86 #9D955F #5F9D76
square
#5F679D #9D5F86 #9D955F #5F9D76
split-complementary
#5F679D #9D765F #869D5F
monochromatic
#313551 #484E77 #5F679D #848BB5 #ABAFCC

Accessibility & contrast

On white

5.37
#5F679D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5F679D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F679D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F679D#FFFFFF#000000##FFFFFF
##5F679D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556D9F
Deuteranopia (green-blind)
#51689C
Tritanopia (blue-blind)
#4C727B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f679d;
/* rgb */ color: rgb(95, 103, 157);
/* oklch */ color: oklch(53.0% 0.085 276.6);
Tailwind
colors: {
  custom: {
    50: '#8f92ba',
    500: '#5f679d',
    950: '#000000',
  },
}
SCSS
$custom: #5f679d;
$custom-light: #8f92ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5f679d",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 157
  },
  "hsl": {
    "h": 232.258,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.08535,
    "h": 276.6
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#5F679D
secondary
#BAB79E
accent
#B567C1
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0D11
muted
#7D7D80

Preview Lab

Preview with #5F679D

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

Preview Lab → · Contrast checker → · Palette generator →

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