#5F6AEB#5F6AEB

#5F6AEB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.192 H 275.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F6AEB
RGBrgb(95, 106, 235)
HSLhsl(235, 78%, 65%)
HSVhsv(235, 60%, 92%)
CMYKcmyk(59.6%, 54.9%, 0%, 7.8%)
CIE-LABlab(50.38, 33.66, -66.69)
CIE-LCHlch(50.38, 74.70, 296.78°)
OKLaboklab(58.55% 0.0171 -0.1914)
OKLCHoklch(58.55% 0.192 275.1)
XYZxyz(24.8639, 18.7372, 80.8875)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AEB #EBE05F
analogous
#5FB0EB #5F6AEB #9A5FEB
triadic
#5F6AEB #EB5F6A #6AEB5F
tetradic
#5F6AEB #EB5FB0 #EBE05F #5FEB9A
square
#5F6AEB #EB5FB0 #EBE05F #5FEB9A
split-complementary
#5F6AEB #EB9A5F #B0EB5F
monochromatic
#1724B9 #2937E4 #5F6AEB #959DF2 #CCCFF9

Accessibility & contrast

On white

4.42
#5F6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AEB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AEB#FFFFFF#000000##000000
##5F6AEB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6aeb;
/* rgb */ color: rgb(95, 106, 235);
/* oklch */ color: oklch(58.5% 0.192 275.1);
Tailwind
colors: {
  custom: {
    50: '#9994f2',
    500: '#5f6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f6aeb;
$custom-light: #9994f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6aeb",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 235.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.19215,
    "h": 275.1
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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