#5F6BEB#5F6BEB

#5F6BEB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.191 H 274.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5F6BEB
RGBrgb(95, 107, 235)
HSLhsl(235, 78%, 65%)
HSVhsv(235, 60%, 92%)
CMYKcmyk(59.6%, 54.5%, 0%, 7.8%)
CIE-LABlab(50.62, 33.06, -66.30)
CIE-LCHlch(50.62, 74.08, 296.50°)
OKLaboklab(58.73% 0.0161 -0.1902)
OKLCHoklch(58.73% 0.191 274.8)
XYZxyz(24.9675, 18.9445, 80.9221)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BEB #EBDF5F
analogous
#5FB1EB #5F6BEB #995FEB
triadic
#5F6BEB #EB5F6B #6BEB5F
tetradic
#5F6BEB #EB5FB1 #EBDF5F #5FEB99
square
#5F6BEB #EB5FB1 #EBDF5F #5FEB99
split-complementary
#5F6BEB #EB995F #B1EB5F
monochromatic
#1725B9 #2939E4 #5F6BEB #959DF2 #CCD0F9

Accessibility & contrast

On white

4.38
#5F6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5F6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BEB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BEB#FFFFFF#000000##000000
##5F6BEB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6beb;
/* rgb */ color: rgb(95, 107, 235);
/* oklch */ color: oklch(58.7% 0.191 274.8);
Tailwind
colors: {
  custom: {
    50: '#9995f2',
    500: '#5f6beb',
    950: '#000000',
  },
}
SCSS
$custom: #5f6beb;
$custom-light: #9995f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6beb",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 234.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.1909,
    "h": 274.8
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#5F6BEB
secondary
#EBE7BB
accent
#C80BDA
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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