#5F679E#5F679E

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

Color values

HEX#5F679E
RGBrgb(95, 103, 158)
HSLhsl(232, 25%, 50%)
HSVhsv(232, 40%, 62%)
CMYKcmyk(39.9%, 34.8%, 0%, 38%)
CIE-LABlab(45.08, 11.28, -30.81)
CIE-LCHlch(45.08, 32.81, 290.11°)
OKLaboklab(53.08% 0.0101 -0.0863)
OKLCHoklch(53.08% 0.087 276.7)
XYZxyz(15.7393, 14.6013, 34.3302)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F679E #9E965F
analogous
#5F879E #5F679E #775F9E
triadic
#5F679E #9E5F67 #679E5F
tetradic
#5F679E #9E5F87 #9E965F #5F9E77
square
#5F679E #9E5F87 #9E965F #5F9E77
split-complementary
#5F679E #9E775F #879E5F
monochromatic
#313552 #484E78 #5F679E #858BB5 #ABAFCC

Accessibility & contrast

On white

5.36
#5F679E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5F679E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F679E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F679E#FFFFFF#000000##FFFFFF
##5F679E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556DA0
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#4C727B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f679e;
/* rgb */ color: rgb(95, 103, 158);
/* oklch */ color: oklch(53.1% 0.087 276.7);
Tailwind
colors: {
  custom: {
    50: '#8f92bb',
    500: '#5f679e',
    950: '#000000',
  },
}
SCSS
$custom: #5f679e;
$custom-light: #8f92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f679e",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 158
  },
  "hsl": {
    "h": 232.381,
    "s": 24.901,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.08687,
    "h": 276.7
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#5F679E
secondary
#BBB79E
accent
#B666C1
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0D12
muted
#7D7D81

Preview Lab

Preview with #5F679E

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

Preview Lab → · Contrast checker → · Palette generator →

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