#5F5697#5F5697

#5F5697 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.2% C 0.102 H 288.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5F5697
RGBrgb(95, 86, 151)
HSLhsl(248, 27%, 46%)
HSVhsv(248, 43%, 59%)
CMYKcmyk(37.1%, 43%, 0%, 40.8%)
CIE-LABlab(40.12, 19.83, -34.45)
CIE-LCHlch(40.12, 39.75, 299.93°)
OKLaboklab(49.16% 0.0322 -0.0969)
OKLCHoklch(49.16% 0.102 288.4)
XYZxyz(13.6315, 11.3225, 30.7394)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5697 #8E9756
analogous
#566E97 #5F5697 #805697
triadic
#5F5697 #975F56 #56975F
tetradic
#5F5697 #97566E #8E9756 #569780
square
#5F5697 #97566E #8E9756 #569780
split-complementary
#5F5697 #978056 #6E9756
monochromatic
#2E2A49 #464070 #5F5697 #8078B2 #A59FC8

Accessibility & contrast

On white

6.43
#5F5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5F5697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5697
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5697#FFFFFF#000000##FFFFFF
##5F56971.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#50626F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f5697;
/* rgb */ color: rgb(95, 86, 151);
/* oklch */ color: oklch(49.2% 0.102 288.4);
Tailwind
colors: {
  custom: {
    50: '#8f85b6',
    500: '#5f5697',
    950: '#000000',
  },
}
SCSS
$custom: #5f5697;
$custom-light: #8f85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5697",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 248.308,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.1021,
    "h": 288.4
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#5F5697
secondary
#B1B693
accent
#C464B7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5F5697

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

Preview Lab → · Contrast checker → · Palette generator →

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