#5F679A#5F679A

#5F679A is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.9% C 0.081 H 276.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5F679A
RGBrgb(95, 103, 154)
HSLhsl(232, 24%, 49%)
HSVhsv(232, 38%, 60%)
CMYKcmyk(38.3%, 33.1%, 0%, 39.6%)
CIE-LABlab(44.89, 10.11, -28.73)
CIE-LCHlch(44.89, 30.46, 289.39°)
OKLaboklab(52.87% 0.0091 -0.0803)
OKLCHoklch(52.87% 0.081 276.5)
XYZxyz(15.4006, 14.4659, 32.5463)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F679A #9A925F
analogous
#5F859A #5F679A #755F9A
triadic
#5F679A #9A5F67 #679A5F
tetradic
#5F679A #9A5F85 #9A925F #5F9A75
square
#5F679A #9A5F85 #9A925F #5F9A75
split-complementary
#5F679A #9A755F #859A5F
monochromatic
#30344E #484E74 #5F679A #838AB3 #A9AECA

Accessibility & contrast

On white

5.39
#5F679A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5F679A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F679A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F679A#FFFFFF#000000##FFFFFF
##5F679A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566D9C
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#4E7179
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f679a;
/* rgb */ color: rgb(95, 103, 154);
/* oklch */ color: oklch(52.9% 0.081 276.5);
Tailwind
colors: {
  custom: {
    50: '#8e92b8',
    500: '#5f679a',
    950: '#000000',
  },
}
SCSS
$custom: #5f679a;
$custom-light: #8e92b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f679a",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 154
  },
  "hsl": {
    "h": 231.864,
    "s": 23.695,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.0808,
    "h": 276.5
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#5F679A
secondary
#B8B59C
accent
#B468C0
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0D11
muted
#7D7D80

Preview Lab

Preview with #5F679A

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

Preview Lab → · Contrast checker → · Palette generator →

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