#5F659D#5F659D

#5F659D is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.6% C 0.088 H 278.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5F659D
RGBrgb(95, 101, 157)
HSLhsl(234, 25%, 49%)
HSVhsv(234, 39%, 62%)
CMYKcmyk(39.5%, 35.7%, 0%, 38.4%)
CIE-LABlab(44.48, 12.22, -31.16)
CIE-LCHlch(44.48, 33.47, 291.42°)
OKLaboklab(52.6% 0.0126 -0.0873)
OKLCHoklch(52.6% 0.088 278.2)
XYZxyz(15.4570, 14.1739, 33.8132)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F659D #9D975F
analogous
#5F849D #5F659D #785F9D
triadic
#5F659D #9D5F65 #659D5F
tetradic
#5F659D #9D5F84 #9D975F #5F9D78
square
#5F659D #9D5F84 #9D975F #5F9D78
split-complementary
#5F659D #9D785F #849D5F
monochromatic
#313451 #484C77 #5F659D #8489B5 #ABAECC

Accessibility & contrast

On white

5.48
#5F659D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5F659D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F659D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F659D#FFFFFF#000000##FFFFFF
##5F659D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526C9F
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#4D707A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f659d;
/* rgb */ color: rgb(95, 101, 157);
/* oklch */ color: oklch(52.6% 0.088 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f90ba',
    500: '#5f659d',
    950: '#000000',
  },
}
SCSS
$custom: #5f659d;
$custom-light: #8f90ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5f659d",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 157
  },
  "hsl": {
    "h": 234.194,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.08821,
    "h": 278.2
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#5F659D
secondary
#BAB79E
accent
#B867C1
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #5F659D

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

Preview Lab → · Contrast checker → · Palette generator →

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