#5F679F#5F679F

#5F679F is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.1% C 0.088 H 276.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F679F
RGBrgb(95, 103, 159)
HSLhsl(233, 25%, 50%)
HSVhsv(233, 40%, 62%)
CMYKcmyk(40.3%, 35.2%, 0%, 37.6%)
CIE-LABlab(45.13, 11.57, -31.32)
CIE-LCHlch(45.13, 33.39, 290.28°)
OKLaboklab(53.13% 0.0104 -0.0878)
OKLCHoklch(53.13% 0.088 276.8)
XYZxyz(15.8257, 14.6359, 34.7853)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F679F #9F975F
analogous
#5F879F #5F679F #775F9F
triadic
#5F679F #9F5F67 #679F5F
tetradic
#5F679F #9F5F87 #9F975F #5F9F77
square
#5F679F #9F5F87 #9F975F #5F9F77
split-complementary
#5F679F #9F775F #879F5F
monochromatic
#313552 #484E79 #5F679F #858BB6 #ABB0CD

Accessibility & contrast

On white

5.35
#5F679F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5F679F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F679F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F679F#FFFFFF#000000##FFFFFF
##5F679F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546DA1
Deuteranopia (green-blind)
#50689E
Tritanopia (blue-blind)
#4B727B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f679f;
/* rgb */ color: rgb(95, 103, 159);
/* oklch */ color: oklch(53.1% 0.088 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f92bb',
    500: '#5f679f',
    950: '#000000',
  },
}
SCSS
$custom: #5f679f;
$custom-light: #8f92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f679f",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 159
  },
  "hsl": {
    "h": 232.5,
    "s": 25.197,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.08838,
    "h": 276.8
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#5F679F
secondary
#BBB89E
accent
#B666C2
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0D0D12
muted
#7D7D81

Preview Lab

Preview with #5F679F

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

Preview Lab → · Contrast checker → · Palette generator →

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