#5F6BD6#5F6BD6

#5F6BD6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.163 H 275.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F6BD6
RGBrgb(95, 107, 214)
HSLhsl(234, 59%, 61%)
HSVhsv(234, 56%, 84%)
CMYKcmyk(55.6%, 50%, 0%, 16.1%)
CIE-LABlab(49.25, 26.24, -56.65)
CIE-LCHlch(49.25, 62.43, 294.85°)
OKLaboklab(57.27% 0.0148 -0.1618)
OKLCHoklch(57.27% 0.163 275.2)
XYZxyz(22.1107, 17.8018, 65.8762)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BD6 #D6CA5F
analogous
#5FA6D6 #5F6BD6 #8F5FD6
triadic
#5F6BD6 #D65F6B #6BD65F
tetradic
#5F6BD6 #D65FA6 #D6CA5F #5FD68F
square
#5F6BD6 #D65FA6 #D6CA5F #5FD68F
split-complementary
#5F6BD6 #D68F5F #A6D65F
monochromatic
#263195 #3341C5 #5F6BD6 #9098E2 #C0C5EF

Accessibility & contrast

On white

4.60
#5F6BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5F6BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6BD6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BD6#FFFFFF#000000##FFFFFF
##5F6BD61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347ADA
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#1D8396
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f6bd6;
/* rgb */ color: rgb(95, 107, 214);
/* oklch */ color: oklch(57.3% 0.163 275.2);
Tailwind
colors: {
  custom: {
    50: '#9595e3',
    500: '#5f6bd6',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bd6;
$custom-light: #9595e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bd6",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 233.95,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.1625,
    "h": 275.2
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#5F6BD6
secondary
#DFDAB2
accent
#B61FC7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #5F6BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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